I'm looking at creating an envelope by feeding [vline~] into an array. I have a message box containing the numbers for the envelope's attack and release target amplitudes and slope times. From what I can see in the [vline~] help file the first character in the message determines the target amplitude and the second determines the time it takes to reach the given amplitude. And if there is a third it gives a time delay.
I seem to have it working correctly with the following message: -
[1 100, 0 100 100<
the visual line in the array represents these transients and timings perfectly.
but when I change the second parameter in the message from 100 to 200... like this: -
[1 200, 0 100 100<
it actually reduces the amplitude instead of making any changes the timing.
Can anyone please see what I'm doing wrong? I assumed that by changing the second parameter the peak would move to the right slightly.... not downwards.
Here's a couple of screenshots