Forum

Question on ADSR behaviour

Hello,
I was wondering why the ADSR node needs an input >= 0.5 in order to work. Obviously it is inspired by the synthesizer, or thats at least what I’d guess. If I play a note on a synth, whether that is midi or analog cv, it needs only the slightest pressing down and the adsr envelope will be triggered - means my input is coming through. When I connect a Midinote to an adsr, my midikeyboard will only trigger the adsr if i’m playing the note hard enough while slight presses will be overlooked (if the notedata is below 0.5 the adsr won’t be triggered). So I have to come up with complicated mathematical workarounds. My question is thus if it wouldn’t make more sense to have the adsr be triggered by any amount of input? Or make the necessary input in order to have the envelope triggered adjustable on a pin?

Would a < node not do it, with the input 2 set to 0.01 or similar?

the ADSR input is a trigger/bang not a signal. in vvvv boolean values are true for any number >= 0.5 and false for numbers below 0.5.

so you need to generate a bang from your midi velocity. as catweasel said, the not so complicated solution is merely a > node between the midi velocity and the ADSR input.

Hello,
a > would solve the problem if I was purely interested in the envelope being triggered. The problem is that the key data gets lost that way. Thus what gets registered basically is note on/off, not however how hard the key was pressed, they’d all land in the same category if I use the proposed solution. What I would like is the Original amount of the keypresss being processed through the adsr, not just a 1. Apparently thats not possible though as it seems…

that would be the multiplication of the velocity with the ADSR output…