Whipsmack
2007-04-04 14:22:35
First off i'll just say this is a really nifty program and appears that it would be very powerful if I was any good at scripting 
However i'm not good at scripting, I wouldn't even know where to begin. Anyways, my problem... I'm trying to have my keyboard send a keystroke right when I HIT the key. When I did this it would either send a double keystroke, one for on, and one for off. Or only an off....
My keyboard has velocity sensors so there are many many different ones to use, how can I make it so that it sends a keystroke in output only once when I hit the key, no matter how hard or how soft.
I noticed theres another post on this, and your response really lost me unfortunetly.
"ust for everyone else reading this question:
to trigger the Outgoing Action for any velocity, use a variable for the velocity:
Incoming: 90 40 pp
where 90 is the MIDI code for Note On on channel 1, 40 is the key number (a key somewhere in the middle of the keyboard), and pp is the velocity.
In order to separetely capture Note On and Note Off, there is a trick: Note Off is commonly sent as Note On with velocity 0. So for that, use a Translator before the Translator above: it captures the Note Off message:
Incoming: 90 40 00
By selecting "Stop Processing" (in the General tab), the MIDI message is "swallowed" so that it will not be executed by the following Note On Translator."
I don't know what you mean by using a variable for the velocity.
Thanks

However i'm not good at scripting, I wouldn't even know where to begin. Anyways, my problem... I'm trying to have my keyboard send a keystroke right when I HIT the key. When I did this it would either send a double keystroke, one for on, and one for off. Or only an off....
My keyboard has velocity sensors so there are many many different ones to use, how can I make it so that it sends a keystroke in output only once when I hit the key, no matter how hard or how soft.
I noticed theres another post on this, and your response really lost me unfortunetly.
"ust for everyone else reading this question:
to trigger the Outgoing Action for any velocity, use a variable for the velocity:
Incoming: 90 40 pp
where 90 is the MIDI code for Note On on channel 1, 40 is the key number (a key somewhere in the middle of the keyboard), and pp is the velocity.
In order to separetely capture Note On and Note Off, there is a trick: Note Off is commonly sent as Note On with velocity 0. So for that, use a Translator before the Translator above: it captures the Note Off message:
Incoming: 90 40 00
By selecting "Stop Processing" (in the General tab), the MIDI message is "swallowed" so that it will not be executed by the following Note On Translator."
I don't know what you mean by using a variable for the velocity.
Thanks