I tried to translate the ADSR help patch to gamma as the Node did not work as I expected.
Also setting a sustain level makes it staying forever on the given value instead of “releasing” back to 0 after releasing the “Set”-Input.
Bug or did I get something wrong?
Help patch text from vvvv beta says:
as soon as the input pin is set to 1, ADSR’s output reaches 1 within the attack time,
then decays to the sustain value, where it stays as long ADSR’s input remains 1.
If the input = 0, ADSR reaches 0 within te specyfied release time.
But in gamma it only reacts on the change from 1 to 0, so on the release of the boolean.
Sustain/Slope/Release has no effect as far as I could see.
It was inspired by the beta help patch with some changes/optimization to understand the behaviour better… Also the node was working slightly different (toggle instead of press) if I remeber it correct?