custom sysex - scripting + variables (feature request)
I love your app! Especially the params passable via url 👌🏻
Re the pipeline, this probably isn't close, but I was wondering if it could be possible to craft custom system exclusive messages.
I'm using the JD-Xi which has support for controlling some parameters via cc / nprn / msb messages, but most via sysex. I've crafted the first, using the manual and online resources, and most parameters being controlled are 0-127 (00-7F), the last byte before the end of the sysex message.
Messages sent always begin with common sysex start, then an offset address to denote the part, and another for the parameter, then finally the value of the parameter.
Using Lua in Touchosc this can be achieved by adding the value of the controller (0.0 - 1.0 * 127) eg on a control's valuechanged method (when control value changes)
Example analog synth amp_envelope attack time "19 42 00 2D"
function onValueChanged()
sendMIDI({ MIDIMessageType.SYSTEMEXCLUSIVE, 0x41, 0x10, 0x00, 0x00, 0x00, 0x0E, 0x12, 0x19, 0x42, 0x00, 0x2D, ("0x" .. string.format("%x", self.values.x * 127)), 0x00, 0xF7})
end
(long-shot : ) any chance anything similar could be achieved in future midisurf?!