midi: allow sending note off with velocity, add option for receiving note off with velocity

This commit is contained in:
bordun 2021-04-21 15:32:33 +02:00
parent 996537d60b
commit a6e60e172c
7 changed files with 43 additions and 17 deletions

View file

@ -79,13 +79,16 @@ Enable parsing of midi time code messages (disabled by default).
**`active_sensing`**
Enable parsing of midi active sensing messages (disabled by default). Active sensing messages will be received as sysex.
Enable parsing of midi active sensing messages (disabled by default). Active sensing messages will be received as sysex.
**`pc_offset`**
Send program changes with a `-1` offset to match some software/hardware implementations
**`note_off_velocity`**
Enable receiving noteOff messages with a velocity and on a different address than noteOn messages.
**`device_name:virtual`** (*Linux / Mac only*): creates a virtual midi device with one input port and one output port
@ -95,7 +98,9 @@ Send program changes with a `-1` offset to match some software/hardware implemen
**`path=/path/to/python`**
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`). *Only use this if you know what you are doing.*
*Only use this if you know what you are doing. This option should not be set when using the officla Linux / Windows / OSX packages.*
Indicates where to find python binary in case open stage control doesn't (`Error: spawn python3 ENOENT`).
## Widget setup

View file

@ -5,7 +5,7 @@
#### `/note channel note velocity`
NoteOn event or noteOff if velocity equals `0`.
NoteOn event or noteOff if velocity equals `0`. Incoming noteOff events will be received as `/note` with velocity 0 if `note_off_velocity` is not set during [setup](../midi-configuration).
- `channel`: integer between 1 and 16
- `note`: integer between 0 and 127
@ -23,6 +23,12 @@ NoteOn event or noteOff if velocity equals `0`.
----
#### `/note_off channel note velocity`
NoteOff event with any velocity. Incoming noteOff events will be received as `/note_off` if `note_off_velocity` is set during [setup](../midi-configuration).
----
#### `/control channel cc value`
Control change event.