MIDI ON and OFF
Posted: 13 Jul 2012 12:37
I have trawled the manual and cannot find a suitable answer to this, despite the RTFM comments scattered throughout this forum. I am creating a simple controller for Steinberg's Loopmash. The performance controls accept a MIDI note on command, as do the preset change buttons.
The problem is that the performance controls are essentially a "held" switch, i.e. they require a MIDI OFF command when the button is released. It is obviously simple to send the Note ON, but how do I send the note OFF? I assumed this requires a midi expression, e.g. Note off, note number, to trigger when x goes from positive to zero,, but no joy.
What is strange is that a pad acting as a note on, a la the manual page 50 only has a note on, not a note off, so I don't understand how this can operate as a keyboard, yet not in this context ...
The various "master keyboards" in the templates all do what I want them to do, but the scripting is too complex for me to follow, as they use a number of velocity and octave variables.
I downloaded an example using switches, but this uses mutually exclusive elements and doesnt help me.
I would really appreciate it if those wonderful people posting templates would comment their scripts, as it would greatly benefit beginners such as myself.
The problem is that the performance controls are essentially a "held" switch, i.e. they require a MIDI OFF command when the button is released. It is obviously simple to send the Note ON, but how do I send the note OFF? I assumed this requires a midi expression, e.g. Note off, note number, to trigger when x goes from positive to zero,, but no joy.
What is strange is that a pad acting as a note on, a la the manual page 50 only has a note on, not a note off, so I don't understand how this can operate as a keyboard, yet not in this context ...
The various "master keyboards" in the templates all do what I want them to do, but the scripting is too complex for me to follow, as they use a number of velocity and octave variables.
I downloaded an example using switches, but this uses mutually exclusive elements and doesnt help me.
I would really appreciate it if those wonderful people posting templates would comment their scripts, as it would greatly benefit beginners such as myself.