electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
Fun with the 4046 PLL
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [18 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
synaesthesia



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Sat Nov 15, 2014 1:22 pm    Post subject: Fun with the 4046 PLL
Subject description: circuit snippets that sound interesting
Reply with quote  Mark this post and the followings unread

The 4046 PLL is a chip that I haven't used before. So I finally sat down and played with it a bit. So far I am using only the VCO part, which works just great.

The first snippet is meant to emphasize the interference sound that you get from mixing two close frequencies. However, in the INTERFERENCER circuit, I am feeding the VCO not with one voltage, but with a fast triangle wave from a first shift register. The resulting frequency from the 4046 is then divided down by a second shift register. When tuning the triangle wave frequency against the VCO range, you get many places where a nice interference can be heard. Listen for yourself. In the first half of the recording I am only changing the triangle wave frequency. In the second half I am only changing the 4046 VCO range.


Interferencer.PNG
 Description:
 Filesize:  34.53 KB
 Viewed:  57 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Interferencer.PNG



Interferencer.mp3
 Description:

Download
 Filename:  Interferencer.mp3
 Filesize:  1.96 MB
 Downloaded:  187 Time(s)


Last edited by synaesthesia on Sat Nov 15, 2014 2:59 pm; edited 3 times in total
Back to top
View user's profile Send private message
synaesthesia



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Sat Nov 15, 2014 1:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

In the second circuit snippet I am feeding the 4046 with a mix of a fast ramp wave and a slow ramp wave. The ramps are generated by a counter with a resistor network at the outputs. Of course this is not a clean ramp, but actually a stepped wave form. You could add a 4.7uF condensator from RV3 pin 3 to ground to smooth the slower ramp a bit. A pot is used to mix the two wave forms and then send the result to the 4046 VCO input. In the recording I am changing all four pots, but only one at a time. You can get an idea of the many interesting sounds created by the SPACE4046 circuit below from the recording.


Space4046.PNG
 Description:
 Filesize:  35.74 KB
 Viewed:  62 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Space4046.PNG



Space4046.mp3
 Description:

Download
 Filename:  Space4046.mp3
 Filesize:  2.81 MB
 Downloaded:  193 Time(s)

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



Joined: Mar 20, 2012
Posts: 1583
Location: Chicago
Audio files: 14

PostPosted: Sat Nov 15, 2014 4:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

nice sounds.... Smile
Back to top
View user's profile Send private message
commathe



Joined: Jul 26, 2013
Posts: 131
Location: Beijing
Audio files: 5

PostPosted: Sun Nov 16, 2014 1:13 am    Post subject: Reply with quote  Mark this post and the followings unread

Really interesting stuff! Its making me put a 4046 module much higher on my build list.
Back to top
View user's profile Send private message
RingMad



Joined: Jan 15, 2011
Posts: 253
Location: Montreal, Canada
Audio files: 2

PostPosted: Sun Nov 16, 2014 10:39 am    Post subject: Reply with quote  Mark this post and the followings unread

I've used the basic 4046 VCO many times, but never with this kind of inputs... there are some very interesting sounds you're making. Thanks for sharing.

James.
Back to top
View user's profile Send private message Visit poster's website
PHOBoS



Joined: Jan 14, 2010
Posts: 2007
Location: Moon Base
Audio files: 392

PostPosted: Sun Nov 16, 2014 11:25 am    Post subject: Reply with quote  Mark this post and the followings unread

awesome sounds ! Shocked Laughing
_________________
"My perf, it's full of holes!"
http://phobos.000space.com/ http://www.acidtrash.com/ Stickney Synthyards
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
PHOBoS



Joined: Jan 14, 2010
Posts: 2007
Location: Moon Base
Audio files: 392

PostPosted: Sun Nov 16, 2014 3:28 pm    Post subject: Reply with quote  Mark this post and the followings unread

quick tip for some extra fun. Connect pin3 to 4,.. take the output from pin 2
and add another oscillator (or bit stream) to pin 14.
This way you can use the internal XOR as a (digital) ringmod.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/ http://www.acidtrash.com/ Stickney Synthyards
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
PHOBoS



Joined: Jan 14, 2010
Posts: 2007
Location: Moon Base
Audio files: 392

PostPosted: Sun Nov 16, 2014 8:22 pm    Post subject: SPACE4046 test Reply with quote  Mark this post and the followings unread

I did a test with the SPACE4046

I used a VCO for the fast ramp wave which itself was modulated with a slow ramp wave (counter + R2R).
I also used the 4046 XOR as ringmod (as explained above) together with another squarewave oscillator.
I used the ramp output of another 4046 VCO for a drone, which was modulated by the LFO that was controllling
the counter for the fast ramp wave VCO and I added some delay Wink

I like this SPACE4046 thing! Laughing
(another mod could be XOR's between the outputs of the 4520 and the resistors so you can change the direction)

audio posted here

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/ http://www.acidtrash.com/ Stickney Synthyards
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Blue Hell
Site Admin


Joined: Apr 03, 2004
Posts: 20877
Location: The Netherlands, Enschede
Audio files: 158
G2 patch files: 319

PostPosted: Tue Nov 18, 2014 9:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Ah .. here it the source of the PHOBoS track .. nice circuits!
_________________
Jan
Back to top
View user's profile Send private message Visit poster's website
PHOBoS



Joined: Jan 14, 2010
Posts: 2007
Location: Moon Base
Audio files: 392

PostPosted: Wed Nov 19, 2014 7:14 am    Post subject: SPACE4046+ Reply with quote  Mark this post and the followings unread

PHOBoS wrote:
another mod could be XOR's between the outputs of the 4520 and the resistors so you can change the direction

Since you'd need 4 XOR's (1 chip) per counter it makes more sense to use a up/down counter instead.
Here's a modified version which uses 2 CD4029's with the addition of an extra flipflop so it can also 'bounce', which
results in a stepped triangle wave. And a switch makes it possible to select between ramp, triangle or inverted ramp.

The CV range of the CD4046 isn't the full supply voltage, but ± 1V to Vdd-1V. This is why I added 2 100K
resistors to the CV input which keeps the stepped voltages within the CV range.


4046SPACE+.gif
 Description:
modified SPACE4046 circuit
 Filesize:  68 KB
 Viewed:  114 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

4046SPACE+.gif



_________________
"My perf, it's full of holes!"
http://phobos.000space.com/ http://www.acidtrash.com/ Stickney Synthyards
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
synaesthesia



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Thu Nov 20, 2014 10:40 am    Post subject: Reply with quote  Mark this post and the followings unread

PHOBoS wrote:
Quote:
Connect pin3 to 4,.. take the output from pin 2 and add another oscillator (or bit stream) to pin 14.

That's a great idea Very Happy and it does add yet another interesting effect to the sound. I already included it into the next circuit I am working on.

I also tried to add two 100K resistors to the CV input. There was a slight difference audible, but I don't feel like there was missing much in the original circuit. Will try that again with the new circuit.

For a negative CV ramp I tried another circuit using a DIY vactrol from an LED and an LDR encapsulated in heat-shrink tube. That worked ok, but not great as a CV input. However, when you connect the output to the XOR input of the 4046, it sounds great and you get something close to a synth drum sound. The circuit below can also be used stand-alone. The sound is generated entirely during the recovery period of the LDR after it has been lit by the LED with a brief flash. It it surprising how slow these LDRs are. Use an LDR with a high dark resistance. Only drawback is that it keeps going a while even at a very low frequency, which results in audible clicks. Could be gated with the trigger maybe, but I didn't follow-up on this yet.


SynthDrum.PNG
 Description:
 Filesize:  8.65 KB
 Viewed:  29 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

SynthDrum.PNG


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



Joined: Feb 18, 2013
Posts: 143
Location: south Germaica (schwabilon)

PostPosted: Thu Nov 20, 2014 1:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

synaesthesia wrote:
it sounds great and you get something close to a synth drum sound. The circuit below can also be used stand-alone. The sound is generated entirely during the recovery period of the LDR after it has been lit by the LED with a brief flash. It it surprising how slow these LDRs are. Use an LDR with a high dark resistance. Only drawback is that it keeps going a while even at a very low frequency, which results in audible clicks. Could be gated with the trigger maybe, but I didn't follow-up on this yet.

thats the way i build my lickshoters:

(this is a singing Squrewave alongside with one of my lickshot circuits)
you can avoid the sound keeps going with a big pulldown resistor (cant rember, and dont have anything here to check) but i think it was somthing like 1m-10m to the input or output of the osc(gate). A enclosure will also help. (the most unneedet light come from the back of the LED in it.)
Back to top
View user's profile Send private message Visit poster's website
synaesthesia



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Thu Nov 20, 2014 1:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ahh, cool. I just found your LickShot schematic by clicking on the icon next to your recording on SoundCloud. I like your idea to use a pot to balance between two different (I guess) caps.
Seems the pull-down resistor was 1M at the input of the inverter. Yep, the enclosure is very important. I used two layers of heat-shrink tube actually to make it lightproof.
Back to top
View user's profile Send private message
DUBmatze



Joined: Feb 18, 2013
Posts: 143
Location: south Germaica (schwabilon)

PostPosted: Thu Nov 20, 2014 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

synaesthesia wrote:
I like your idea to use a pot to balance between two different (I guess) caps
shure diffrent caps. this must be a verry small pot (10k or smaller). a cool tone controll for this is also when u use 3 different caps. Somthing like: a 10k Pot. on the left taper a mini cap on the right side a big cap. and the middel connect a resistor followed by a medium cap. this will make a pitch controll for the LDR osc. To change the "envelope" you can shrink more than one LED in. i figured out the ldrs i had (cheap china bulk buy, so no datashet...) are most sensitiv to green light. so i add a 2nd pot to fade between a green and a red LED. this need some tweaking (in my case the red one must be brighter) i think this only will work with extrem "slow" LDRs...
i also played a bit arround with dif. LFOs for the green and the red LEDs. you get some kind of "modulation" from the red one.

Realy cool is when you tigger with one LED two (LDR)osc and NAND mix that together. (this sound: http://youtu.be/ja1cw30o-YE )
Back to top
View user's profile Send private message Visit poster's website
synaesthesia



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Sat Nov 22, 2014 8:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Here is a circuit snippet that sometimes sounds a bit like a frog choir. A slow counter with a resistor network generates a sequence of voltages that are fed into a 4046 VCO to produce a tune. The XOR from the 4046 PLL is used for ring modulation of that melody. When a stepped triangle wave from a second counter is mixed to the control voltage, a kind of resonance is added to the tune. The slower the triangle wave, the more "resonance" it generates. I called it "Quack" in the schematic.

An interesting effect can be heard when the ring modulation frequency is changed: it appears that the tune is actually changing. My guess is that this happens when the frequency of a specific tone matches the ring modulation frequency, which doubles the resulting tone frequency.

In the recording I start with a slow tune without "quack", then accelerating and increasing the ring modulation frequency. You can hear the tune changing a bit during that. After the middle part, I increase the amount of "quack" to maximum and then start decreasing the ring modulation frequency, which again changes the tune at a few points.


FrogChoir.PNG
 Description:
 Filesize:  36.81 KB
 Viewed:  30 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

FrogChoir.PNG



FrogChoir.mp3
 Description:

Download
 Filename:  FrogChoir.mp3
 Filesize:  1.96 MB
 Downloaded:  117 Time(s)

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



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Sun Dec 21, 2014 8:22 am    Post subject: Reply with quote  Mark this post and the followings unread

A simplified version of the SPACE4046 circuit that uses 4069 inverters to create two triangle wave oscillators. The diodes are then used to change them into sawtooth or ramp generators.


Space4069.PNG
 Description:
 Filesize:  48.26 KB
 Viewed:  60 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

Space4069.PNG


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



Joined: May 27, 2014
Posts: 131
Location: Germany
Audio files: 49

PostPosted: Fri Feb 13, 2015 4:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Here is a little circuit that generates a random melody using a 4046 and a 4015 shift register. The shift register output is run through the XOR gate from the 4046. Depending on the current state of the slow oscillator (a simple 40106 circuit here, anything else will work as well) the result is fed back into the shift register inverter or unchanged. The random state of the shift register pattern determines the tone that is sent to the output via an optional resistor network as well as the control voltage that is sent to the 4046. The VCO output frequency is then used to clock the shift register. The self-modulating feedback generates a pretty random sequence of tones as you can hear in the recording.


4046 Melody.PNG
 Description:
 Filesize:  29.82 KB
 Viewed:  9 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

4046 Melody.PNG



4046Melody.mp3
 Description:

Download
 Filename:  4046Melody.mp3
 Filesize:  1.15 MB
 Downloaded:  51 Time(s)

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



Joined: Jan 15, 2011
Posts: 253
Location: Montreal, Canada
Audio files: 2

PostPosted: Sat Feb 14, 2015 6:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Nice! It's random, but not too much, so it still retains some musicality.

.: James :.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [18 Posts]
View unread posts
View new posts in the last week
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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