Topic: Feature Request -- Add Note-Off events to MIDI-mapping choices

https://i.postimg.cc/T1NNCPMy/plastic-tab-two-position-switches.jpg

Plastic-tab two-position switches configured as follows--

* Each switch corresponds to (and transmits) a specific MIDI-note number (up to 128 switches per group, corresponding to MIDI note numbers 0-127) using a MIDI channel distinct from those used by the organ manuals and pedalboard

* Each switch produces a note-ON message when the front edge is pressed downward to activate (turn on) a stop, coupler or other 2-state device or feature

* Each switch produces a note-OFF message when moved back up to its previous (off) position.

If  more than 128 switches exist, they are grouped, each group of up to 128 switches transmitting on its own unique assigned MIDI channel (1-16) that is different from the MIDI channels used by the organ keyboard manuals and pedalboard.

--

Modartt-- Please consider adding MIDI note-off events to the list of available events for MIDI mapping, to trigger various functionality in Organteq and Pianoteq, for reasons that appear in this discussion:

https://forum.modartt.com/viewtopic.php...32#p965932

Short explanation-- Some hardware, like "MIDIfied" organs that have plastic two-position stop tabs, transmits a note-ON  message when a two-position toggle switch (a plastic tab that activates or deactivates an organ stop) is moved to one position, and a note-OFF message when the switch is moved to its other position. This ability (to specify MIDI note-OFF events in a MIDI-map entry) would be useful for anyone who uses hardware that transmits MIDI note-on and note-off messages for any two-position switches operated by hand or by foot.

Thanks.

Last edited by Stephen_Doonan (27-03-2020 13:42)
--
Linux, Pianoteq Pro, Organteq

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

You can restrict in the MIDI mapping the MIDI note-on velocity range, and the value 0 is equivalent to a MIDI note-off by definition in the MIDI standard.

Last edited by Gilles (26-03-2020 14:25)

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

Gilles wrote:

You can restrict in the MIDI mapping the MIDI note-on velocity range, and the value 0 is equivalent to a MIDI note-off by definition in the MIDI standard.

That won't work in the case of two-position tab or rocker switches--

Restricting the value of a MIDI signal, so that the MIDI map entry is only activated by a single value or limited range of values, is very useful, but it is not sufficient in this case. A two-position physical switch could be programmed to produce a MIDI note-ON message in one position and a note-OFF event in its other position, but might send no velocity information at all, or might send the same velocity (0 or 127) for BOTH a note-on *and* a note-off MIDI event. These two-position switches are not intended to produce any sound, but instead only to turn something on and off. In this case, only the MIDI-note-number (0-127), corresponding to which two-position-switch is moved, and a MIDI-note ON-or-OFF message, corresponding to one of the two switch positions, is important or significant.

On a standard organ or piano keyboard, ONE key press transmits BOTH a note-ON followed by a note-OFF message (and usually MIDI velocity data). A key on a MIDI piano keyboard is a "momentary switch": it remains on only as long as it is pressed, and sends a note-off message as soon as the finger is lifted from the key.

HOWEVER, on some physical organ consoles, the plastic tabs that turn stops on or off are configured to send a MIDI note-ON message when they are pressed, and they REMAIN in that position until they are manually moved back to their opposite position, at which time they produce a MIDI note-OFF message. They are TWO-position toggle or rocker switches, not momentary switches like regular piano or organ keys, and many organ consoles have them, so it seems reasonable to request that a note-off message be added to the list of MIDI events that are selectable as triggers in the MIDI mapping functionality, to accommodate cases where note-on and note-off MIDI messages are used for a purpose other than sounding a particular note of a scale.

Pianoteq already allows one to use a sounded or unsounded note of a keyboard (such as a key that is outside the range of the instrument model or preset) to toggle between two states (activating or deactivating an upper or lower harpsichord manual independently, for example) by using just the note-ON message of two or more CONSECUTIVE key presses to alternate between two states (on or off, active or not-active), but that would not work in this case, with a two-position switch specifically intended to act as a toggle switch that produces only a note-ON message in one position, and only a note-OFF message in the other position.

Last edited by Stephen_Doonan (26-03-2020 18:42)
--
Linux, Pianoteq Pro, Organteq

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

You're right, the velocity can't be used for MIDI mapping so the actual MIDI note-off code is needed to interact with these switches. One temporary workaround would be to use the toggle parameter this way: pressing the switch associated with a note number activates an Organteq stop so pulling then pressing and pulling it would deactivate it. Not pretty but for the meantime....

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

I got an email today letting me know that note off midi messages are currently disabled in Organteq. That functionality is planned for a future release.

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

Hi,

The Midimapping in version 1.0.5 now supports note-OFF events.

https://www.modartt.com/organteq#changes

Roman

Re: Feature Request -- Add Note-Off events to MIDI-mapping choices

Roman wrote:

Hi,
The Midimapping in version 1.0.5 now supports note-OFF events.
Roman

--

THANK YOU very much, Roman and Modartt team!

Last edited by Stephen_Doonan (02-04-2020 15:29)
--
Linux, Pianoteq Pro, Organteq