electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
  host / artist show at your time
today> Sorry, no program tonight. Chez Mosc
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
4017/4051 Melody Generator
Post new topic   Reply to topic Moderators: mosc
Page 2 of 2 [50 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2
Author Message
rich decibels



Joined: Apr 01, 2010
Posts: 60
Location: Wellington, NZ
Audio files: 1

PostPosted: Thu Oct 14, 2010 9:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

melodygen.gif


Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Wed Feb 23, 2011 7:50 am    Post subject: Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Wed Feb 23, 2011 9:20 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Back to top
View user's profile Send private message
tjookum



Joined: May 25, 2010
Posts: 360
Location: Netherlands
Audio files: 26

PostPosted: Fri Feb 25, 2011 4:41 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Back to top
View user's profile Send private message
DGTom



Joined: Dec 08, 2008
Posts: 211
Location: Adelaide
Audio files: 3
G2 patch files: 1

PostPosted: Fri Feb 25, 2011 11:11 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Mon Feb 28, 2011 12:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

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. Rolling Eyes I'll report back after a few rounds of debugging...thanks for the tips!
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Wed Mar 02, 2011 9:28 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Wed Mar 02, 2011 9:43 am    Post subject: Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message
Psyingo



Joined: Jun 11, 2009
Posts: 248
Location: Canada

PostPosted: Wed Mar 02, 2011 9:49 am    Post subject: Reply with quote  Mark this post and the followings unread

clarke68 wrote:
Oh, you mean Pin 3, where it says "Out" on the schematic? Not quite sure how I missed that. I'll try it tonight!


thats the one. now im wondering... where were you taking the output from before!?
Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Wed Mar 02, 2011 1:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Sun Mar 06, 2011 1:56 am    Post subject: Reply with quote  Mark this post and the followings unread

It works! Simple demo I put together of the MelodyGen in action:



Thanks so much for all the help. Couldn't have done it without you!
Back to top
View user's profile Send private message
droffset



Joined: Feb 02, 2009
Posts: 515
Location: London area
Audio files: 2

PostPosted: Sun Mar 06, 2011 1:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Nice, one, glad you got it working!
_________________
==================
Check out the FREE Intro to Lunettas Document
https://docs.google.com/document/d/1V9qerry_PsXTZqt_UDx7C-wcuMe_6_gyy6M_MyAgQoA/edit?usp=sharing

Edit: Spelling mistakes.
Back to top
View user's profile Send private message
tjookum



Joined: May 25, 2010
Posts: 360
Location: Netherlands
Audio files: 26

PostPosted: Sun Mar 06, 2011 2:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

nice work! I like how neat your modules look.

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
Back to top
View user's profile Send private message
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Sun Mar 06, 2011 11:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5825
Location: Moon Base
Audio files: 709

PostPosted: Mon Mar 07, 2011 8:46 am    Post subject: Sunday Breadboard Experiments
Subject description: experimenting with the 4017/4051 Melody generator
Reply with quote  Mark this post and the followings unread

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)

I like this thing! Very Happy

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Draal



Joined: May 18, 2010
Posts: 308
Location: Oak Park, IL
Audio files: 5

PostPosted: Mon Mar 07, 2011 11:03 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Smile . Have fun!

_________________
Zontar Prevails!
Back to top
View user's profile Send private message Visit poster's website
clarke68



Joined: Sep 10, 2009
Posts: 28
Location: Bay Area, CA

PostPosted: Mon Mar 07, 2011 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

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!
Back to top
View user's profile Send private message
tjookum



Joined: May 25, 2010
Posts: 360
Location: Netherlands
Audio files: 26

PostPosted: Tue Mar 08, 2011 1:48 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 226
Location: The Darkside

PostPosted: Mon May 30, 2011 11:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

Please help a cracker find some rhythm. afro
Back to top
View user's profile Send private message
tjookum



Joined: May 25, 2010
Posts: 360
Location: Netherlands
Audio files: 26

PostPosted: Tue May 31, 2011 7:05 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Back to top
View user's profile Send private message
slacker



Joined: Nov 18, 2007
Posts: 301
Location: England
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 31, 2011 9:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Mine's got LEDs on the ABC inputs of CD4051, this shows what "note" it's playing.
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 226
Location: The Darkside

PostPosted: Tue May 31, 2011 12:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

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. scratch
Back to top
View user's profile Send private message
slacker



Joined: Nov 18, 2007
Posts: 301
Location: England
Audio files: 11
G2 patch files: 1

PostPosted: Tue May 31, 2011 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 226
Location: The Darkside

PostPosted: Tue May 31, 2011 1:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

slacker wrote:

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.


You would think so, but no, thats not the case.
I'll have to check my breadboard wiring.
Back to top
View user's profile Send private message
acidblue



Joined: Jun 26, 2009
Posts: 226
Location: The Darkside

PostPosted: Tue May 31, 2011 6:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

After checking wiring I now have blinking LED's. Laughing
I have now transfered everything to proto board.
I now need to make some more modules for input into the melody generator.

I got some OSC and VCO's and a LFO on breadboard I've been using not to mention the 4040 divider.
Has anyone tried using a frequency multiplier with the melody generator?, like this one:
http://www.robthefiddler.com/electronics-audio-diy/circuit-experiments/4089-frequency-multiplier/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 2 of 2 [50 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Jump to:  

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


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use