Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Sat Sep 27, 2008 5:50 pm Post subject:
Guitar Effects with MN3209 BBD Subject description: Bucket Brigade Device Question
Hi, my question is: What can I do with these four MN3209 Bucket Brigade Device chips that I just found, plus a 15 kHz to 25 kHz square wave Theremin?
I built a simple Theremin out of just a relaxation oscillator (oh, so relaxing) and it operates with sufficient sensing distance (about 4 to 6 inches) for mounting on the butt--end of a guitar. Then the player can wave their hand over it to create some effect. OK, good start there.
I also just discovered in my long lost chip collection, a nice unopened DigiKey packet with four little MN3209 BBD chips in it - what joy! I can't wait to gen up a differential clock circuit for this and drive the BBD with the Theremin, mounting the whole thing on my guitar.
Not knowing too much about how such delays are traditionally used to create tremelo, chorus, and other effects, I am asking what you would do with these little babies. I would like to use just one and save the other three for duplicates as this is a discontinued part.
Along the same lines, are other BBD chips still in production? I'd prefer to work with available parts if possible in the future. What would you do? _________________ "Let's make noise for peace." - Kijjaz
the MN3209 is only 256 stages, quite short for a BBD. Nevertheless, a suitable chorus/flanging type circuit could possibly be constructed. The datasheet specs it at .64-12.8ms being clocked from 10 to 100 kHz. You can of course clock it faster, but be sure to buffer the pulses to keep them nice and sharp, as most BBD's don't respond well to sloppy pulses. There are a few companies still churning out BBD's, most are higher staged with the intention of being used for analog delays. Shanghai Belling and Coolaudio come to mind, but there may be others.
-justin
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Sun Sep 28, 2008 3:06 pm Post subject:
Thanks Justin! I built a first crude prototype of a circuit and tested it, it works! There is a lot of switching noise, however. I notice in the example circuit on the datasheet there are a bunch of low pass filters in the loop. I can only presume that this is to deal with all the switching noise. The next time I get motivation I'm going to transfer the design to a bigger breadboard, add a microphone, and put in some decent filtering to deal with this.
The circuit is an inverting amp followed by the BBD, then going back to the inverting amp. What type of effect is that, chorus or flanger or what?
It has a dial for nominal delay, one for feedback gain, and one for offset to decrease noise. I am thinking of ultimately making a circuit board using Eagle CAD software that one can attach to the guitar's pick guard and have a Theremin effect box like that. Cool idea, if I can stick to it and get the job done. But there is no hurry, is there? _________________ "Let's make noise for peace." - Kijjaz
Hey Les,
This Saphire Flanger is quite simple, and yet works really well. I built two of them into a rack unit, and I've still got the (proven) stripboard layout if you want a copy. I'm pretty sure the 3209 and 3207 are pin for pin, just a different number of stages. If not, it could be easily modified.
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Sun Sep 28, 2008 4:36 pm Post subject:
Thanks Uncle Krunkus! That's exactly what I was looking for! So, it is a flanger that I have built after all. A noisy one, without filtering and with insufficient buffering, but nonetheless a flanger. And a Theremin Flanger at that. I can modify your schematic to suit the application, changing the oscillator section to a Theremin and other changes.
I would also like to add a microphone section, but perhaps I should keep it simple for now.
I'm thinking of eventually making a flat rectangular circuit board in surface mount that would attach onto the surface of the scratch plate of a Strat or similar guitar. A patch antenna would slip under the strings and the rest of the circuit board would extend to the right (bottom) of the guitar scratch plate. That way the product could have no enclosure, just a circuit board that mounts to the scratch plate with double-sided foam tape, and have low cost mini-pots and be inexpensive.
Or not, I dunno. Certainly the Theremin's sensitivity needs improvement and I need to use a production BBD or a PIC (though I'd rather not PIC it). But these are things that can happen in good time with lots of care, attention, and dedication.
By the way, I also prototyped it in software using ChucK. It's described in the "Primal Sounds" thread in the ChucK forum if anyone wants that.
Thanks again, nothing like being part of a community of enthusiasts!
Flanger_Proto1.jpg
Description:
Flanger Prototype #1
Filesize:
280.78 KB
Viewed:
821 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
_________________ "Let's make noise for peace." - Kijjaz
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Sun Sep 28, 2008 7:43 pm Post subject:
Oh, that diagram is kinda cool. I'm not very good at following instructions though, I'll improvise quite a bit. But that filter with all its precious design values is a real gem in this application! It also has a clean bias method. _________________ "Let's make noise for peace." - Kijjaz
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Sep 29, 2008 12:20 am Post subject:
goodrevdoc wrote:
the MN3209 is only 256 stages, quite short for a BBD. Nevertheless, a suitable chorus/flanging type circuit could possibly be constructed.
-justin
I have constructed the second prototype and, with better filtering, most of the noise is gone. The effect, however, as justin warns, is not very noticeable. Even when clocked at the slower end of the range, it just isn't there. The theremin does not vary the frequency enough and the BBD is too short. I can perhaps work on the Theremin, but does anyone have an MN3207's to sell me? Where can I buy some myself? _________________ "Let's make noise for peace." - Kijjaz
If you find the effect a bit weak, you could try inverting the regeneration. In a strange way, this creates a kind of notch flanging on the higher frequencies, and acts like doubling the delay for the lower ones. _________________ What makes a space ours, is what we put there, and what we do there.
The MN3207 is actually the only BBD I can get easily. Wagner Electronics in Sydney have a big stash of them. Not sure why. _________________ What makes a space ours, is what we put there, and what we do there.
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Sep 29, 2008 4:28 am Post subject:
Yes, Uncle, I tried that and you are right - inverting on the feedback makes the effect more pronounced.
bugbrand, thanks for the smallbear link, plus they have the BL3208A which is 2048 stages, nice. I need some other Smallbear parts, I like them, I think I'll place an order in two weeks when I have more cash.
Rgarding the Theremin, I tried a negativie impedance converter instead of a capacitance multiplier and it worked OK. I etched the antenna and gave it interlocking "E" pattern, cap on front and gnd on back but that didn't help much. Then I covered the antenna with electrical tape and it now works as kind of a variable touch sensor, not so much as a magical Theremin. I think a good Theremin has to have a transformer for the antenna or something. _________________ "Let's make noise for peace." - Kijjaz
256 stages is little for a delay but it's plenty for Karplus Strong. How about combining the Theremin antenna for pitch with a nice button for throwing a short burst of noise in? Perhaps a pressure-sensitive button could be found for more subtle intonation in strumming?
You'd need a filter that would go along with the oscillator's modulation, I believe one trick (used by Boss in their BBD's) is to used PWM based on the clock to control the CV for the filter. Perhaps the most interesting part would be to create a versatile noise-generator that could be controlled by a pressure sensitive button and lead to suitable pluck and bow type excitation signals. _________________ Kassen
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Sep 29, 2008 6:19 am Post subject:
Very Interesting, Kassen. I looked up Karplus Strong on Google and got the Wikipedia page. It does mention this:
Quote:
In the original algorithm, this was a burst of white noise, but it can also include any wideband signal, such as a rapid sine wave frequency sweep or a single cycle of a sawtooth wave or square wave.
So perhaps there is room for experimentation on the input signal. Perhaps a suitable input signal in place of the noise would be a squared-up guitar signal. I could just modify the existing circuit to do that.
As to the use of the flanger as a variable modulator thingie, ie to vary the flanging by touching the touchpad, I tried in the attached audio sample to do that. It is Jimi Hendrix playing the star spangled banner intro, the first 20 seconds or so of it. In the test I am busily (rapidly) tapping on the touchpad and you can hear the warbling effect. It isn't a very nice improvement on the work, but it does demonstrate my poor success so far.
Flanger1.mp3
Description:
Flanger Test (poor initial result)
Filesize:
315.53 KB
Viewed:
1826 Time(s)
_________________ "Let's make noise for peace." - Kijjaz
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Sep 29, 2008 6:50 am Post subject:
I tried squaring up the guitar signal and putting in a filter but it didn't sound like string synthesis. Perhaps I need to create a burst like kassen said. Anyway, I did a frequency sweep courtesy of ChucK and it has a wavy frequency response. When I touch on the touchpad the filter characteristics compress slightly, and when i take a screwdriver and wiggle the frequency pot, it sounds really interesting.
I just need to make the theremin modulate more and i'll be in business. I'm going to try a fixed capacitive negative impedance converter to remove the parasitic capacitance. we'll find out soon. _________________ "Let's make noise for peace." - Kijjaz
Joined: Oct 13, 2007 Posts: 6221 Location: near Austin, Tx, USA
Audio files: 270
Posted: Mon Sep 29, 2008 7:30 am Post subject:
wow, i figured out how to widen the frequency sensitivity of the theremin. i used a negative impedance converter with a fixed capacitor and a pot adjust, plus a capacitance multiplier on the antenna. It's a sensitive adjustment, but the NIC cancels out the parasitic capacitance leaving mostly only antenna capacitance which varies a lot. You still have to touch the antenna (or get close) but it does have a big effect on the um, effect. nice. _________________ "Let's make noise for peace." - Kijjaz
For the project thread on the KS board that Kassen suggested. It has been months and I've done a lot of work on the project, only to re-read this thread and discover that it was Kassen after all who suggested the project in the first place.
Oh, and Andy would you mind taking a look at my KS board? I'd like your opinion.
Les _________________ "Let's make noise for peace." - Kijjaz
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum