Author |
Message |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Tue Aug 26, 2008 4:50 am Post subject:
A new kind of ADSR? Subject description: an idea |
 |
|
I was thinking of a new type of ADSR today. One with individual Attack, Decay, Sustain, Release outputs. Each output would have it's own gate and/or trig signal to repeat itself, so you can get an AD, ADS, or ADSR.
Does this sound possible?
I don't have any EG's ready yet so I can't test it until probably the end of the week. So if anyone has a standard ADSR out there, do you think you can see if it's possible to tap out the individual stages? |
|
Back to top
|
|
 |
Uncle Krunkus
Moderator

Joined: Jul 11, 2005 Posts: 4761 Location: Sydney, Australia
Audio files: 52
G2 patch files: 1
|
Posted: Tue Aug 26, 2008 5:15 am Post subject:
|
 |
|
The biggest problem for your idea is that most ADSRs output the voltage fluctuations which are happening across one cap. So if you wanted an output which didn't have a release section, for example, you'd have to just disconnect from the voltage across that cap. Then where would that CV go? Straight to 0V? (just use another ADSR with no release dialled in) or would you want it to hang where it was? Then you'd need to S&H, and you'd still get droop eventually, which would be like a really slooooow release.
But I can see where you're coming from, if you just used the logic to run some other 4066s to only send out certain sections. Dropping to 0V elsewhere. _________________ What makes a space ours, is what we put there, and what we do there. |
|
Back to top
|
|
 |
Dave Kendall

Joined: May 26, 2007 Posts: 421 Location: England
Audio files: 3
|
Posted: Tue Aug 26, 2008 8:28 am Post subject:
|
 |
|
You can *sort of* get what you're describing from the EFM VC RADSR.
http://www.modular.fonik.de/files/EFMforum/orgEFMfiles/vcradsr.pdf
Pin 1 of the 4001 NOR gate produces a brief trigger pulse at the end of the attack phase, pin 14 of the TL074 gives a pulse at the end of the attack and decay phase, and I guess you could derive a pulse when the gate goes low at the end of the sustain phase using a bit of extra circuitry.
I guess any ADSR using logic as part of it's design should be able to be modded to produce trigger outputs. Perhaps this one on the Elby site.
I did hook up an end of decay pulse socket on my VC RADSR, but haven't actually used it yet for anything yet.....
cheers,
Dave
(edited to include VC RADSR link) |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Tue Aug 26, 2008 1:52 pm Post subject:
|
 |
|
thanks for the link! I'll breadboard that asap and see what I can come up with. |
|
Back to top
|
|
 |
EdisonRex
Site Admin

Joined: Mar 07, 2007 Posts: 4579 Location: London, UK
Audio files: 172
|
Posted: Tue Aug 26, 2008 3:58 pm Post subject:
|
 |
|
I have long thought that the envelope generator design would be best done using a PIC (or any other programmable microcontroller). This sort of functionality fairly screams out for that sort of approach to me... _________________ Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
Home,My Studio,and another view |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Tue Aug 26, 2008 11:59 pm Post subject:
|
 |
|
Bah! You can do anything with PIC'ing around. Though I don't have the microcontroller hardware to program any PIC's so I'm stuck with analog means.
If this is feasible how difficult do you think it would be adding linear/exponential, and/or logarithmic voltage outputs to each stage? |
|
Back to top
|
|
 |
widdly
Joined: Jun 25, 2007 Posts: 268 Location: singapore
G2 patch files: 2
|
Posted: Wed Aug 27, 2008 2:45 am Post subject:
|
 |
|
I used to avoid all the pic projects out there. But a couple of weeks ago I built a jdm2 programmer like this... http://www.jdm.homepage.dk/newpic3.htm It works fine off my old linux machines serial port and it cost a few dollars to build.
I have since successfully built a midi to gate board with 6 outputs and a midi to CV board both using some 16f84's I got for cheap.
So bah to your no picing excuses
Thinking about your idea. You could have a universal envelope stage circuit. You could build many copies to create multiple stage envelopes.
It would have..
an input for the start value
an input for a trigger
a knob for the length (time)
a knob for the final value
a trigger output for when the final value is reached
It would sample the input value when the trigger was received and then slope to the final value over the time period.
The final release might be tricky. Perhaps you could use an inverted gate signal to trigger the release phase. This would allow multiple stage releases.
Then of course it would need CV for the the lengths too....and...and..and Last edited by widdly on Thu Aug 05, 2010 10:08 pm; edited 1 time in total |
|
Back to top
|
|
 |
Rykhaard
Joined: Sep 02, 2007 Posts: 1290 Location: Canada
|
Posted: Wed Aug 27, 2008 8:21 am Post subject:
|
 |
|
widdly wrote: | I used to avoid all the pic projects out there. But a couple of weeks ago I built a jdm2 programmer like this... http://www.jdm.homepage.dk/newpic3.htm It works fine off my old linux machines serial port and it cost a few dollars to build.
I have since successfully built a midi to gate board with 6 outputs and a midi to CV board both using some 16f84's I got for cheap.
So bah to your no picing excuses
|
WHAT??? Cheap MIDI to Gate and MIDI to CV around a PIC??? How, what, where, when, why????
Tell me more! Tell me how! I ultimately would LOVE to have 32 channels of MIDI CV and Gates. Right now I have only 4 of each and I have been debating going to the MIDI to CV option with my unfinished MIDIbox Seq hardware that I have almost finished. The high price of MAX525 chips though, has stalled me on this.
But if what you've built around a PIC is cheap, I'm very interested in building my own!
More info. please!  |
|
Back to top
|
|
 |
ericcoleridge

Joined: Jan 16, 2007 Posts: 889 Location: NYC
|
Posted: Wed Aug 27, 2008 10:59 am Post subject:
Re: A new kind of ADSR? Subject description: an idea |
 |
|
synthmonger wrote: | I was thinking of a new type of ADSR today. One with individual Attack, Decay, Sustain, Release outputs. Each output would have it's own gate and/or trig signal to repeat itself, so you can get an AD, ADS, or ADSR.
|
how about trying something like the CGS Slope Detector to extract gates from various stages. This will presumably give you a separate trigger/gate for rising, steady, or falling voltages. Perhaps by setting some kind of comparator thresholds on the detector inputs you could extract gates at exactly the right breakpoints. |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Wed Aug 27, 2008 11:10 am Post subject:
|
 |
|
Ahhh! That should work perfectly for the gate/trig extraction. Surprised I haven't seen this one.[/quote] |
|
Back to top
|
|
 |
neandrewthal

Joined: May 11, 2007 Posts: 672 Location: Canada
|
|
Back to top
|
|
 |
widdly
Joined: Jun 25, 2007 Posts: 268 Location: singapore
G2 patch files: 2
|
Posted: Wed Aug 27, 2008 7:12 pm Post subject:
|
 |
|
On that MFOS, the separate cv outputs seem to all feed into IC-4b. I wonder if you could buffer these individually to get separate voltage for each stage.
Rykhaard wrote: |
WHAT??? Cheap MIDI to Gate and MIDI to CV around a PIC??? How, what, where, when, why????
....
But if what you've built around a PIC is cheap, I'm very interested in building my own!
More info. please!  |
I used a 16f84 which doesn't have a uart. The midi code I used is based of Trevor Pages rx-303 which is on the introspectiv yahoo group. None of the other midi code for 16f84's worked properly. Getting the timing right is crucial.
For gates, I just used the PIC output fed to a transistor. I only implemented 6 gate but you could get 12 from 16f84 with no extra logic. Add some shift registers or d-latches and you could get a lot more.
For CV, I designed my own circuit using a dac08 based on a circuit I found on a japanese website. DAC08 go very cheap in my neck of the woods.
You could add a cmos 4051 to multiplex the output. There is an old midi-to-cv from EFM that uses this idea. You could get at least 8 CV's from one PIC and one DAC08, maybe more. Getting this working is my next mission. Last edited by widdly on Thu Aug 05, 2010 10:08 pm; edited 1 time in total |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Wed Aug 27, 2008 10:44 pm Post subject:
|
 |
|
widdly wrote: | On that MFOS, the separate cv outputs seem to all feed into IC-4b. I wonder if you could buffer these individually to get separate voltage for each stage.
|
Where would you tap it from? Before the LED indicators? |
|
Back to top
|
|
 |
widdly
Joined: Jun 25, 2007 Posts: 268 Location: singapore
G2 patch files: 2
|
Posted: Thu Aug 28, 2008 12:45 am Post subject:
|
 |
|
The outputs of the 4066 in the bottom left corner are attack, decay/sustain and release. Instead of feeding them into the opamp (IC4-B) you could buffer each one separately. However the decay sustain are already mixed together. Maybe you could figure a way of using the extra switch the 4066 and the signal from the LED outputs to toggle the combined decay/sustain between two separate decay/sustain outputs.
Also, I think you will need comparators on the LED outputs if you want to use them as gates, since Ray mentions the LED's glow brighter depending on the envelope level.
edit..
actually I see the envelope output is fed back into the circuit so my idea wont work. Instead you could place the buffers just before the 4066's. Then feed the buffer into two 4066 switchs, one whose outputs are mixed together as in the diagram, and the other the feeds the individual outputs. Last edited by widdly on Thu Aug 05, 2010 10:08 pm; edited 1 time in total |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Sun Sep 07, 2008 4:28 pm Post subject:
|
 |
|
Well poop!
Doepfer A-143-2 does just what I wanted...well 99% of it, no gate output on the end of the sustain, but for everything else.
Ah well back to the drawing board... |
|
Back to top
|
|
 |
oldmanfury

Joined: Oct 20, 2006 Posts: 57 Location: CA
|
Posted: Sun Sep 07, 2008 5:13 pm Post subject:
|
 |
|
The ASM-1 ADSR can easily be set up to give triggers when the decay and release stages are activated:
The un-labeled output jacks to the side of D and R are trigger outs.
This is a great design for "chaining" ADSRs together and creating complex, multi-stage envelopes.
I have an eagle board layout for this dual ADSR... had a couple made up by futurelec and it works fine (though it could probably be improved upon). Can post it if you're interested.
-gerald |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Mon Sep 08, 2008 2:39 pm Post subject:
|
 |
|
I'd surely be interested! The main reason why I want to make one with multiple trigger outputs is to chain ADSRs.
I breadboarded this http://yusynth.net/archives/Electronics/R-Kirschman-ADSR-1980.pdf yesterday and have been toying with it for different voltage output stages. I'm going to give a shot adding a polarity mixer for attack, decay + sustain and release with trigger outputs.
***A note for the schematic. The gate input needs a diode and a 1M resistor tied to ground or it'll trigger on it's own randomly.
I can get it to retrigger by feeding the cv output back into the gate, but it only makes it an AR and the release time is cut almost in half.
Ideally, if I can get it to retrigger at A, DS, R stages then I'd be a happy SDIYER  |
|
Back to top
|
|
 |
synthmonger
Joined: Nov 16, 2006 Posts: 578 Location: flada
Audio files: 3
|
Posted: Tue Sep 09, 2008 11:16 am Post subject:
|
 |
|
Well I figured out a great use for the extra switch. I forget which pins exactly (I'm at work now) but I found that routing a couple pins from the 4001 through the extra switch you can get it to freeze during it's cycle. Pretty fun lil' feature. |
|
Back to top
|
|
 |
|