release o, all notes

babar69

2009-06-06 15:34:19

hello,
I have percussion triggered midi interfaces, but notes send are too short in duration, as it 's just a hit....
Can someone would be kind tp give me some code to have sustain , like when you continue to press keyboard; ?
(in fact more time in between note on and note off)
thanks

babar69

2009-06-07 11:02:05

sorry, i mean "release" function :D

ruediger

2009-06-10 10:08:39

Hi,

you have to differ beetween key up and down. If you hold button on your midi controller, only Note on is sent. Then you choose Key down in the outgoing action. If you release your button, not off is sent and you can release the key via Key up.

Here´s and example.

Code: Select all

Translator 1: Note on - Key down
Options: stop=false
Incoming: MIDI 90 6D 01 
Outgoing: Key down: K [repeat active]

Translator 2: Noet off - Key up
Options: stop=false
Incoming: MIDI 80 6D 00 
Outgoing: Key up: K
Hope this helps.

Cheers,
Rüdi