I'm new here, and was hoping i could ask few questions.
I'm trying to make a DIY controller that offers solo,mute and record x 8 for use with Protools.
I have a patch that currently uses keystrokes to trigger buttons in 'midi learn' capable plugins.
This used the 'key' object, but i found that max has to be the active window for this to work.
I've switched to the 'HI' object, but have now found that it doesn't work the same as 'key'
If i hit two trigger buttons together, there is often a problem.
If i press H (11) to trigger one command, and J (13) to trigger another simultaneously, (for example, solo track1 and unsolo track 2)
HI will output the following in order
0, 11, 13, 3339 13 0;
0, 13, 11, 3339, 11 0
Depending which key is let off first.
I've filtered out numbers above say,,200 but then i'll still get
0, 11, 13, 13, 0
0, 13, 11, 11, 0.
Either way, one of the commands is going to happen twice for one keystroke.
Is there an alternative way of handling this?
Thanks in advance, i hope i've given enough info.