And if for some reason you too had to squeeze a melodygen + a 40106 to drive it onto a piece of veroboard 12x23 holes in size, this might be how you do it...
melodygen.gif
Description:
slacker melodygen + 40106 12x23 veroboard layout
Filesize:
69.02 KB
Viewed:
606 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Wed Feb 23, 2011 7:50 am Post subject:
I got the MelodyGen working on the breadboard last night!
One question: is the volume level of the 4051 normally quite low? Mine is much lower than the level of my 40106 oscillator when plugged in to the same speakers.
A lot of times the volume level/sound quality improves once I move things onto protoboard (which I hope happens in this case)...just wanted to set my expectations, and would love any suggestions on how to make 'em louder!
clarke68, regarding the volume issue... if they are all on a simlar supply voltage, or the same, they should all be the same level. its all logic levels, so it should be close to the maximum voltage. a significantly quieter signal tells me theres a connection issue on the output. maybe the wires, or maybe the breadboard some where. they should all be the same volume.
yeah, logic is logic, on or off, zero or maximum. The most likely thing I can think of is a faulty breadboard. Probe around with a wire to hear if it's also loud before the 4051. _________________ There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
Hunter S. Thompson movies noise
but logic isn't always logic.. or not to the ear anyway.
I wouldn't take the output from the 4051, at least, not without buffering / conditioning it first. The main reason is it will be a very short pulse; as soon as the 4051 out goes high, the 4017 resets & the "1" is cut short
The divide by N signal (or, in this application the 'melody') is available from the first output stage of the 4017, this will have a decent duty cycle & should be just as "loud" as a 40106 clock.
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Mon Feb 28, 2011 12:37 pm Post subject:
The problem had/has something to do with ground, which isn't exactly consistent between my oscillators, mixer, and breadboard. I "fixed" it accidentally when I was playing around with the pin3/pin12 pot that Stolenfat mentioned on the previous page.
I was hoping the problem would solve itself when I moved the MelodyGen from the breadboard to the "big rig" (not exactly big at 3 modules so far). Unfortunately my protoboard version has bigger problems...no sound at all. I'll report back after a few rounds of debugging...thanks for the tips!
Ah right. on the 'melody generator' you are supposed to take the output from the first output of the 4017, not from the 4051... completely overlooked that.
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Wed Mar 02, 2011 9:43 am Post subject:
Oh, you mean Pin 3, where it says "Out" on the schematic? Not quite sure how I missed that. I'll try it tonight!
Except for the volume issue, I was really enjoying what I was hearing from Pin 6 of the 4051, with Pin 3 of the 4017 tied to ground. Proof that you don't necessarily have to know what you're doing to have fun with CMOS chips!
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Wed Mar 02, 2011 1:05 pm Post subject:
Answered your question before I saw it in an edit to the post above. I think I must have been hearing the melody through ground...I remember it got a lot clearer when I connected Pin3 to ground, then got clearer still when I "fixed" my "ground problem".
This thing ought to be awesome when I get it hooked up right!
Now get some more clocks, some gates and shift registers and you will have angry neighbours in no time! _________________ There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
Hunter S. Thompson movies noise
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Sun Mar 06, 2011 11:10 pm Post subject:
Thanks guys!
Tjookum, that's just what I was thinking! I'd like to get some opinions about specifically what would be good to build next, but I'll start another thread about it so I don't pollute the MelodyGen discussion.
Joined: Jan 14, 2010 Posts: 5825 Location: Moon Base
Audio files: 709
Posted: Mon Mar 07, 2011 8:46 am Post subject:
Sunday Breadboard Experiments Subject description: experimenting with the 4017/4051 Melody generator
Yesterday (sun Mar 06,2011) I tried this little circuit and I'm quite pleased
with the results I got. I started out with using 6 oscillators to control the
ABC, INH, E and CLK inputs which gave some nice results. Especially a
high speed oscillator (I used a 40106 one with a 1nF cap and 500K pot)
controlling the Enable pin of the 4017 gave very nice effects.
After that I tried a 4040 to control the ABC and INH inputs which gives
more structured melodies. Since I now had 4 oscillators unused I attached
these to the 4040 aswell (to turn em on/off) and attached a sequencer
controlled VCO to the CLK input, with the tempo of the Sequencer also
controlled by the 4040. Mixed together with some 1K resistors.
a small part of the result is posted here. (I also added delay and my purplestar 555 for this one)
Joined: May 18, 2010 Posts: 308 Location: Oak Park, IL
Audio files: 5
Posted: Mon Mar 07, 2011 11:03 am Post subject:
Great sounds there fellas! The melody gen is a fun circuit because not only do you have AB and C input options (try different outs from the 4070 for some XOR fun), but the EN pin really plays a strong role in the vibe.
Re: other things to build:
I've also used another ic for great melodies: the 4018 (the 4029 is somewhat similar). That one I just run the ins and outs to the panel. It's even simpler/faster to build and gets similar results. Check the pitch makers thread here.
Also try these: 4094 shift reg., 4015 shift reg., the YAVCO or any other simple vco, 4051, 4052, 4053, really, there's no real way but YOUR way here . Have fun! _________________ Zontar Prevails!
Joined: Sep 10, 2009 Posts: 28 Location: Bay Area, CA
Posted: Mon Mar 07, 2011 4:12 pm Post subject:
Thanks Draal, great suggestions. The shift registers are definitely on my radar, however after hearing PHOBoS' awesome track, I think a 4040 is up next!
Nice sounds there phobos. I've done a lot with the melodygen but never got it to sound quite like that.
And Clarke, here is what I did:
-4 oscillators
-4040
-4051 multiplexer(although I prefer the 4052 2x4bit now)
-4015 shift register
-4011 NAND
-4070 XOR
-4017 sequencer
-4066 switches
That gives you a great set of tools to work with and especially in that order you can really expand your sound with every module you add. _________________ There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
Hunter S. Thompson movies noise
Joined: Jun 26, 2009 Posts: 226 Location: The Darkside
Posted: Mon May 30, 2011 11:48 pm Post subject:
Forgive me as I ask the following silly question.
Where are you guys placing your LED's on your Melody Generator's
I noticed you all have nice rhythmic blinking LED's on your modules, but I can't seem to figure just how to do that.
I also have a 4040 going into my 4051, (A,B,C), and was wondering if I should tie in LED's to all the Q outs.
For me at least LED's are one of the most valuable parts on my lunetta. They make spotting a interesting logic source a breeze and really help with patching.
On my melodygen I just have 1 LED on the output but it's well worth the effort putting leds on 4040's and 4051's.
I always connect my leds like this:
IC pin->output connector->resistor->LED->ground.
I use a 1k resistor at 5v and they work perfectly. _________________ There he goes. One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
Hunter S. Thompson movies noise
Joined: Jun 26, 2009 Posts: 226 Location: The Darkside
Posted: Tue May 31, 2011 12:23 pm Post subject:
slacker wrote:
Mine's got LEDs on the ABC inputs of CD4051, this shows what "note" it's playing.
I tried that and it doesn't seem to work for me.
I have a LFO'ed VCO into the in of the 4017 and a couple of Q outs of the 4040 into abc of the 4051.
I can hear the melody playing, but the LED's wont blink.
Joined: Nov 18, 2007 Posts: 301 Location: England
Audio files: 11
G2 patch files: 1
Posted: Tue May 31, 2011 1:41 pm Post subject:
How are you connecting the LEDs?
One end of a resistor to the IC pin, the other end of the resistor to the anode of the LED, cathode of the LED to ground, should work.
Joined: Jun 26, 2009 Posts: 226 Location: The Darkside
Posted: Tue May 31, 2011 6:00 pm Post subject:
After checking wiring I now have blinking LED's.
I have now transfered everything to proto board.
I now need to make some more modules for input into the melody generator.
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