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 
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
A VCA of sorts
Post new topic   Reply to topic Moderators: mosc
Page 2 of 3 [59 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, 3 Next
Author Message
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Sun Apr 19, 2009 1:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'm a fan of simple, too.

santan wrote:
I'm trying to run a simple 4093 output into the dual-diode VCA. Signal doesn't seem to be hot enough when I check the anode side on that first diode. So I'm running it through a 4049 to attempt boosting the signal. Still extremely faint, but I may have something wrong with my resistors on the feedback loop of the 4049. I forget the math there. Positive my oscillator is working because it sounds fine on the cathode side.

Either way, I need to take a break for a few hours and just wanted to make sure I'm heading in the correct direction and that my theory of simply running the output of the 4093 is not hot enough to be audible through this VCA without pre-amping... or should I just throw an amp on the output of the VCA? 741, etc?

Trying to keep it simple.

Thanks!!!


You don't need to amplify the 4093 before the 2-diode VCA, but you might need amplification after it. In my testing I had the output connected to an op amp, but that was for buffering. The signal in fact needed attenuation.

I believe the circuit needs some load to ground at the output. Try 100k and work your way down. Play with the other values as well.

Are you giving the VCA enough CV?

_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
adammokan



Joined: Apr 19, 2009
Posts: 2
Location: Chandler, Arizona

PostPosted: Sun Apr 19, 2009 5:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

richardc64 wrote:

Are you giving the VCA enough CV?


Just had a straight 5v hitting it for now. Was going to get the "percussion" EG going after this.

What trips me out about this, with my apparently limited knowledge on diodes, is how does a signal get through here? (highlighted portion on attachment)

Thanks Richard. Whats the simplest way to amplify this guy. Should I go with the 4049 approach after the VCA or go with an opamp? Just your opinion, in regards to simplicity.

Thanks for the feedback.


Untitled.jpg
 Description:
 Filesize:  14.34 KB
 Viewed:  35734 Time(s)

Untitled.jpg


Back to top
View user's profile Send private message Visit poster's website
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Sun Apr 19, 2009 6:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

santan wrote:
What trips me out about this, with my apparently limited knowledge on diodes, is how does a signal get through here? (highlighted portion on attachment)


The signal doesn't actually "get through" either diode. When the signal is a logic 0, the left-diode shorts the CV to ground (so to speak,) and nothing appears at the cathode of the right diode. When the signal is logic 1 the CV, at whatever level it happens to be, is allowed to appear at the cathode of the right diode. The CV, in other words, is switched on and off by the signal -- chopped, as explained earlier in Tim (Master of the Parenthetical Signature) Servo's 4066 approach to the same method.

Quote:
Whats the simplest way to amplify this guy. Should I go with the 4049 approach after the VCA or go with an opamp? Just your opinion, in regards to simplicity.


I don't know about the 4049, but I know a 4069 (74C04) UnBuffered can be configured just like an op-amp: the ratio of input resistor to feedback resistor determines the gain.

Personally, I'm opposed to using CMOS logic linearly, but that's just me.

_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
slacker



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

PostPosted: Tue Jun 09, 2009 11:16 am    Post subject: Reply with quote  Mark this post and the followings unread

If anyone's interested here's a couple of clips using the simple "VCA" from the first post in this thread. I'm using the attack/decay EG I haven't tried the percussive one yet.

Bloopy.mp3 This is a single voice with a slow envelope

Wibblywobbly.mp3 This is 2 voices each though a VCA with faster envelopes.

Given how simple the circuit is the performance is really impressive, well worth checking out.
Back to top
View user's profile Send private message
synthmonger



Joined: Nov 16, 2006
Posts: 578
Location: flada
Audio files: 3

PostPosted: Wed Jun 10, 2009 12:49 am    Post subject: Reply with quote  Mark this post and the followings unread

Wow for being such a simple circuit it does work pretty dang well!
_________________
Youtube!
modular demos!
Whacky tunes!
Back to top
View user's profile Send private message Visit poster's website
rubendelacosta



Joined: Dec 25, 2005
Posts: 153
Location: lisbon

PostPosted: Tue Apr 27, 2010 5:43 am    Post subject: Reply with quote  Mark this post and the followings unread

hi all!

what type of diodes am i suppose to use ate the "2 diodes vca"?
sorry if this is a stupid question, but i don't know much about diodes...

thanks!
Back to top
View user's profile Send private message
RF



Joined: Mar 23, 2007
Posts: 1502
Location: Northern Minnesota, USA
Audio files: 28

PostPosted: Tue Apr 27, 2010 7:24 am    Post subject: Reply with quote  Mark this post and the followings unread

I think pretty much any small signal diode - 1N914 or 1N4148 That sort of thing.

Good luck

bruce

_________________
www.sdiy.org/rfeng

"I want to make these sounds that go wooo-wooo-ah-woo-woo.”
(Herb Deutsch to Bob Moog ~1963)
Back to top
View user's profile Send private message
jnuaury



Joined: Feb 28, 2008
Posts: 161
Location: chicago
Audio files: 9

PostPosted: Tue Apr 27, 2010 10:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

i revisited this "VCA" design recently and i was pleasantly surprised with it!

i used 1N4148 for the diodes and 10k ohms for both the resistors and removed the capacitor

im still in the stages of building my modular and realized i was going to need more VCAs. this design does not replace a conventional VCA... but if the input source has a steady volume (oscillator, noise) then you can throw an envelope in there and get some nice "drums"

this VCA does add distortion/waveshaping to the input sources but since ill use these for more percussive or noisey purposes its no problem at all and even adds a great effect

another great thing is that if you send it no CV or 0 volts... the input signal doesnt bleed though, there is no need for trimmers! the reverse however... if your input is silent but your CV is in audio rate or has fast transients, it will make unwanted sound at the output, this is where youll want to use a normal VCA

these VCAs are useful even outside of lunetta contexts!

_________________
az/gde
Flickr
YouTube
Back to top
View user's profile Send private message AIM Address
rubendelacosta



Joined: Dec 25, 2005
Posts: 153
Location: lisbon

PostPosted: Wed Apr 28, 2010 4:30 am    Post subject: Reply with quote  Mark this post and the followings unread

i tried the vca today but didn't work...

i used some 40106 oscillators and instead of a cv signal i was trying to use a pwm output from one arduino...but didnt worked

i'll try aggain today
Back to top
View user's profile Send private message
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Wed Apr 28, 2010 4:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Here is a short sample I made a while ago using the diode VCA. The signal source is a 4520 output. It was clocked from 2 sources; squared-up noise on CLK, and a 40106 VCO on EN. A simple percussive envelope that also swept the VCO was the CV.


q3_dn.mp3
 Description:

Download
 Filename:  q3_dn.mp3
 Filesize:  159.63 KB
 Downloaded:  1778 Time(s)


_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
Top Top



Joined: Feb 02, 2010
Posts: 266
Location: California

PostPosted: Wed Jun 09, 2010 10:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Bump...

Just wanted to say I've been using the simple percussive generator and it works well. I have been using it to modulate a volume envelope for a noise source and the pitch on some CMOS oscillators.

Wanted to ask a question though - I notice that when I trigger the envelope & gate of my osc through a diode, I can't get the gate on my oscillator to open up (4093 osc).

When triggered straight from the 4017 (no diode in the path), it works fine. I can also trigger more than one sound on a given step, as long as they are all triggered straight from the pin of the 4017.

Is this likely because of the voltage drop as the high logic goes through the diode?

If I put an NPN transistor buffer in the path (similar to what is commonly used for driving LEDs), might this remedy my problem? Right now I am restricted to one step per sound because I can't hook more than one step to a sound because of lack of diodes to prevent linked steps from backfiring into the 4017.

By the way, I found you need to mess with the caps and 10k and pot values to get the type of envelope wanted for a given purpose. Bigger cap on the input makes for a slower attack, and bigger bypass makes for longer overall decay time. With certain combos the decay pot seems to not do much, so it takes some experimenting to get the right combo. Probably also is dependent on the voltage/current you have coming in and what you are driving with the envelope.





EDIT: Figured out my issue, by the way - the problem was a lack of pulldown resistors from the 4093 osc gate inputs to ground causing instability. These percussive generators are good fun.

Last edited by Top Top on Thu Jun 10, 2010 1:28 pm; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
adambee7



Joined: Apr 04, 2009
Posts: 420
Location: united kingdom

PostPosted: Wed Jun 09, 2010 12:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

That was really cool. Very Happy Very Happy
Back to top
View user's profile Send private message
RAISLE



Joined: Mar 02, 2010
Posts: 6
Location: Minneapolis

PostPosted: Wed Jun 09, 2010 7:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

Been lurking awhile but I thought I should come out of the shadows to say how much I love this circuit. Thanks to richardc64 for posting the schematics!

As a side note: I ended up using a 4049 to amplify the output of the "VCA" and it worked well.
Back to top
View user's profile Send private message Visit poster's website
adamon



Joined: May 15, 2009
Posts: 96
Location: Lawrence Kansas
Audio files: 3

PostPosted: Wed Jun 09, 2010 10:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Been messing around with basic EGs recently (similar AR generator found in an old electronotes article), but I've been having a bit of trouble with just the basic version discussed here. Is there a reason why the AR gen wont work with just driving an LED (and related resistor)? Basically it seems like the R pot doesn't do anything, and I only get higher and higher output with turning up the A pot (not really any slower rise though, just more and more of the exponential rise, but no difference in time). Is the LED limiting everything too much? I feel like I should have some idea of what's going on here, but I haven't really figured this out...
_________________
www.soundcloud.com/adamon
Back to top
View user's profile Send private message
Top Top



Joined: Feb 02, 2010
Posts: 266
Location: California

PostPosted: Wed Jun 09, 2010 10:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

adamon wrote:
Been messing around with basic EGs recently (similar AR generator found in an old electronotes article), but I've been having a bit of trouble with just the basic version discussed here. Is there a reason why the AR gen wont work with just driving an LED (and related resistor)? Basically it seems like the R pot doesn't do anything, and I only get higher and higher output with turning up the A pot (not really any slower rise though, just more and more of the exponential rise, but no difference in time). Is the LED limiting everything too much? I feel like I should have some idea of what's going on here, but I haven't really figured this out...


I haven't used the AR generator, but I know with the percussive one, I had to bring the current limiting resistor down to a max of 1K to get it to really go (though I could see it lighting very dimly with higher). I am about to test, but I think a transistor in front of it to buffer it would help things.

Edit: There is also a thread in the first page (I think "connecting lunettas" or something like that) which shows basically the same EG but with an opamp buffer.
Back to top
View user's profile Send private message Visit poster's website
6581r4AR



Joined: Apr 03, 2011
Posts: 15
Location: Texas, USA

PostPosted: Thu Apr 21, 2011 7:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Tiny question that is probably obvious.
On the Percussive EG decay pot, more resistance = longer decay? or is the opposite true?

_________________
~Tyler
Back to top
View user's profile Send private message
richardc64



Joined: Jun 01, 2006
Posts: 679
Location: NYC
Audio files: 26

PostPosted: Fri Apr 22, 2011 6:28 am    Post subject: Reply with quote  Mark this post and the followings unread

6581r4AR wrote:
Tiny question that is probably obvious.
On the Percussive EG decay pot, more resistance = longer decay?


Correct, for both type EGs.

A few points about the 2-diode VCA and simple EGs:

The VCA is intended to amplitude modulate digital waveforms; the outputs of gates, inverters, counters, etc. There are those (you know who you are,) who claim it can handle a.c. coupled non-digital signals, such as the output of a filter. I am skeptical.

The resistor between the 2 diodes affects the length of Decay/Release that can be obtained. 22k-47k is good in most cases, depending, of course, on the value of the E.G. cap and the maximum length of Decay/Release desired.

In some cases, the diode pointing to the right -- the output -- might not be needed. The output can be direct or capacitor-coupled. Amplification will almost always be needed. In a system with an active mixer -- that is, an op amp or other device with some gain -- this won't be a problem.

In the AR envelope, the Release pot requires a path to ground in order to be effective. To ensure that's always the case, it would be better if it were in parallel with the capacitor, as in the percussive envelope, eliminating one diode. (Sorry 'bout that.)

Large value capacitors need more time to fully charge (or discharge,) than small ones. (t=RC) If the gate or trigger is too short the cap won't get up to the full gate/trigger voltage before Decay/Release begins, thus reducing the output level of the 2-diode or, for that matter, any other type of VCA. This can be a bug or a feature, depending on one's outlook.

These simple EGs can can control one or two 2-diode VCAs. More than that and the Decay/Release time diminishes. Trying to drive an LED places additional resistance in parallel with the cap, which will also shorten the Decay/Release time. One way around both problems would be to buffer the EG voltage with a non-inverting op amp or transistor emitter follower.

In short, with simplistic circuits such as these, trade-offs must be made to obtain satisfactory results. The only way to find satisfying trade-offs is to experiment.


e-follow.gif
 Description:
 Filesize:  2.35 KB
 Viewed:  33320 Time(s)

e-follow.gif



_________________
Revenge is a dish best served with a fork... to the eye
Back to top
View user's profile Send private message Visit poster's website
Repeater



Joined: Mar 19, 2011
Posts: 13
Location: Rochester

PostPosted: Sun Apr 24, 2011 5:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've been using an incredibly simple VCA idea that came from the Nic Collins book. It's not a proper VCA by any means, but I've had good results using a 40106 oscillator to blink an LED pointed towards a photocell. Run the audio through the photocell and you have a quasi envelope generator/voltage controlled attenuator combo.

One step further is to run the oscillator into an inverter and get an LED/photocell combo blinking opposite the non-inverted LED. If you run the two stages in series you can get short percussive envelopes.

Here's a clip of the non-inverted "vca" cascaded into the inverted "vca". Sound source is a few voltage starved NAND gate oscillators.

http://soundcloud.com/martin-freem/growler-v2
Back to top
View user's profile Send private message
kaputtpanzer



Joined: Nov 02, 2009
Posts: 139
Location: Cologne
Audio files: 15

PostPosted: Mon May 26, 2014 12:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

That one is pretty old, but I wonder how to add a manual gate trigger button to the schematic.

I built the diode vca and the a/r envelope thing, it works great with a 4093 Nand LFO, I tried to connect the gate in with v+ but it didn't worked. The a/r pots have no function, the release time is always long, the attack does not work. Should I use a resistor, like in the picture?

Posted Image, might have been reduced in size. Click Image to view fullscreen.

or some cmos gate? but how?
Back to top
View user's profile Send private message Visit poster's website
kaputtpanzer



Joined: Nov 02, 2009
Posts: 139
Location: Cologne
Audio files: 15

PostPosted: Tue May 27, 2014 1:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Any ideas?

I think I will just breadboard this, already add it to the schematic Cool


tr.png
 Description:
 Filesize:  13.82 KB
 Viewed:  561 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

tr.png


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



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

PostPosted: Fri May 30, 2014 1:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Hey Panzer,
iam not shure , but when Sw1-3 is open i think the decay via D5 will not work.
Back to top
View user's profile Send private message Visit poster's website
kaputtpanzer



Joined: Nov 02, 2009
Posts: 139
Location: Cologne
Audio files: 15

PostPosted: Fri May 30, 2014 2:46 am    Post subject: Reply with quote  Mark this post and the followings unread

Hey Matze,

yes D5 is not working with this layout, you get the full release time. I tried to put another resistor to ground, between R9 and the switch, and now it is working near perfect. But another Problem that I have with the vca is, that I can't really use the output signal for something else then direct audio. I mean I can't plug a filter afterwards or something. I tried a unity gain buffer behind the vca but that is not working. Maybe I have to try a gate from a cmos inverter or something.
Back to top
View user's profile Send private message Visit poster's website
Cynosure
Site Admin


Joined: Dec 11, 2010
Posts: 966
Location: Toronto, Ontario - Canada
Audio files: 82

PostPosted: Fri Mar 24, 2017 7:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

This is genious. How did I miss this discussion for all of these years?
_________________
JacobWatters.com
Back to top
View user's profile Send private message
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Sat Apr 01, 2017 10:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

Great thread! Very Happy
Back to top
View user's profile Send private message
gasboss775



Joined: Jan 02, 2016
Posts: 217
Location: Scotland

PostPosted: Wed Apr 05, 2017 9:39 am    Post subject: Diode VCA & simple EG Reply with quote  Mark this post and the followings unread

I tried this version of the diode VCA today. ( see attached )

R3 was found to be necessary to avoid signal breakthrough.


share.jpg
 Description:
 Filesize:  170.94 KB
 Viewed:  648 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

share.jpg


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 3 [59 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2, 3 Next
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