Monophonic adsr retrigger and getting rid of discontinuity in waveform
-
- KVRist
- Topic Starter
- 58 posts since 6 Sep, 2015
From what I read from an audiotk blog (linked below) and another post on kvr the most prevalent way is to get the difference of two envelope followers as the amplitude, but I know its a little more involved than that.
http://blog.audio-tk.com/2015/06/30/aud ... nt-shaper/
http://blog.audio-tk.com/2015/06/30/aud ... nt-shaper/
-
Smashed Transistors Smashed Transistors https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=339459
- KVRist
- 142 posts since 10 Oct, 2014
I totally agree with that point.antto wrote:for a volume envelope, i would simply switch to attack, keeping the current output level
for any other envelope (for pitch, cutoff frequency or whatever) it doesn't hurt to do a "hard" retrigger
but this "fading" approach just doesn't resonate with my brain too well
BTW, env reset is why Korg's Minilogue envs tend to click when "portamento" is OFF.
-
- KVRist
- Topic Starter
- 58 posts since 6 Sep, 2015
I needed the attack to reset smoothly I don't understand what was meant by keeping the current output level and switching to attack that wouldn't reset it properly. Unless something else was meant by that statement.
- KVRAF
- 2554 posts since 4 Sep, 2006 from 127.0.0.1
well, in situations like this, i tend to ask myself "how would this be done in analog?"
and surely it can be done in many ways, including hard-resetting the envelope to attack
the envelope would probably be done using a capacitor forming a 1st order LPF, with some surrounding circuitry to compare its output voltage and then switch to different "segments" where the actual segments would switch the input voltage resistance as seen by the capacitor, which would effectively change the cutoff frequency and cause it to decay towards a given voltage
with such setup, it'd be simpler to just hardly set the segment to "attack" which would only change the input voltage to the LPF to "1.0", and change its cutoff frequency to that of the attack time, thus the capacitor will start decaying towards 1.0 from where it was, no matter what the actual segment was before that.. in fact, "segment" doesn't make sense to the capacitor, all it knows is that someone is playing with its cutoff and feeding different input voltages
EDIT: a picture says more things
and surely it can be done in many ways, including hard-resetting the envelope to attack
the envelope would probably be done using a capacitor forming a 1st order LPF, with some surrounding circuitry to compare its output voltage and then switch to different "segments" where the actual segments would switch the input voltage resistance as seen by the capacitor, which would effectively change the cutoff frequency and cause it to decay towards a given voltage
with such setup, it'd be simpler to just hardly set the segment to "attack" which would only change the input voltage to the LPF to "1.0", and change its cutoff frequency to that of the attack time, thus the capacitor will start decaying towards 1.0 from where it was, no matter what the actual segment was before that.. in fact, "segment" doesn't make sense to the capacitor, all it knows is that someone is playing with its cutoff and feeding different input voltages
EDIT: a picture says more things
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr
..as long as it has BASS and it's LOUD!
irc.libera.chat >>> #kvr