I'm having problems with the gate object in my patch. I'm trying to make a relay for MIDI messages, so that when i press a key on my physical controller the first time it sends the midi note message to another application. Then when i press the same key a second time the note-off message is send. I need the patch to remember the "on/off" setting for a lot of individual keys, so i've cooked up this patch:
It works, but the problem is that there seems to be something strange with the way the gate object evaluates input. When i press one key on my controller, and then another, the gate doesn't switch the output gate until next time i press the second key, thus resulting in the wrong segment of my patch recieving the message. If anyone can help me, i'd be very grateful.
Mark