If I put this fomula in for the power on the source:
if(midi.note(1,1),fadein(10,100),fadeout(10,0))
Every time I press C-2 on my keyboard it starts to fade in nicely. Looks like the timeframe is 10 seconds as expected. Beautiful, right?
BUT, when i release the key the power immediately goes to zero with no fadeout.
FURTHERMOE, If I release the key after one second then press the key again, the fade in picks up where it left off. Once It has reached 100% never again is there a fade. pressing the key on the keyboard just becomes an on/off switch.
God, I'm going crazy with this...
Thanks for your help..
-John