Hi,
I'm trying to make a very simple synth using the computer keyboard: building adsr envelope when I press and release a key. The adsr itself is working fine. but I get something weird when using [keyname].
When connecting the left inlet of [keyname] to a number box, I get "1" when the key is pressed and "0" when the key is released. But if I connect a [print] object to the left outlet, I get a series of 1s and 0s, one after the other...
Is there a bug? Am I missing something?
Also, [keyup] does not do the work, so I don't have an alternative..
I attach the patch
Thanks a lot.
ymotion