Swallow incoming midi note ONLY when shift key held

yvon

2010-07-25 02:35:13

Hi, right now I've done a rethink and am able to send keyboard commands CNTL-SHIFT-1, CNTL-SHIFT-2 etc.

I think I mean to avoid using the SWALLOW incoming option and find another way.

when I hold down the shift key note (bottom note on midi keyboard) and then hit the second note on the keyboard that's assigned to send the CNTL-SHIFT-1, CNTL-SHIFT-2 etc. WHILE the shift-key is held. And of course I set them to swallow midi in (note-one).

Thing is I need a way to have the swallowing happen ONLY while the shift-note is held down so that when I lift up the shift note the secondary keys that send the keyboard commands CNTL-SHIFT-1, CNTL-SHIFT-2 etc. DO pass thru the incoming midi notes allowing the keyboard to fundtion normally.

Is this possible?

Attigo

2010-07-28 23:23:27

Hi yvon,

This sure is possible, with the use of global variables...

You will need your 'shift' key to set a variable on press and on release, maybe ga=1 on press and =0 on release. You can then set up your translators to void or send either keystrokes or midi messages, depending on the variable value, using rules.

Hope this makes sense...

Scott