midi: remove variable args in sysex messages (can be handled many ways now); allow sending any system message; add support for receiving mtc (as sysex); add support for sending sysex bytes as integers

This commit is contained in:
bordun 2020-09-21 13:25:43 +02:00
parent bdb107ee01
commit d648d2a24c
6 changed files with 34 additions and 22 deletions

View file

@ -30,6 +30,10 @@ Create a virtual MIDI device that will translate OSC messsages to MIDI messages
Enable parsing of system exclusive messages (disabled by default).
**`mtc`**
Enable parsing of midi time code messages (disabled by default). These will be received as raw sysex messages.
**`pc_offset`**
Send program changes with a `-1` offset to match some software/hardware implementations

View file

@ -63,12 +63,15 @@ PitchWheel event.
----
#### `/sysex msg v1 .. vN`
#### `/sysex msg`
System exclusive message.
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`. You may include placeholders of the form `nn` which will be replaced by `v1, .., vN` respectively.
- `v1, .., vN`: values encoded as hexadecimal data strings to include in `msg`. Most probably, you will need to sepcify a [custom module](/docs/custom-module/) in order to convert numeric widget values into the required hexadecimal format. In general, this conversion will be different for each manufacturer / device.
- `msg`: hexadecimal sysex data string of the form `f0 ... f7`.
Other system messages may be sent (midi time code for example: `f1 <mtc value>`). Instead of a single hexadecimal string, arguments can be separated and defined either as hexadecimal bytes or as integers. When received, system messages are always formatted as a single hexadecimal string.
----