OK, back on the project after a forced break (my wife was very ill in hospital, she’s much better now).
How do I get a Lua method that sends a Sysex message thus:
pg = CtrlrMidiMessage({0xF0, 0x7F, 0x7F, 0x60, 0x01, 0x00, 0xb0, 0xc0, 0x00, 0xF7})
panel:sendMidiMessageNow(pg)
To replicate a uiSlider modulator that sends a Program Change? I can see in MIDI Monitor the first is sent as:
[07:36:46:000187]: [System exclusive] RAW:[f0 7f 7f 7f 60 01 00 b0 c0 00 f7]
and the second is sent as:
[07:16:54:000025]: [Program change] RAW:[c0 00]
In the SourceForge classes web page under LMidiMessage.cpp I can see “isProgramChange” listed. Can I apply this to the CtrlrMidiMessage above and if so how? I guess the next question is why does the MIDI Monitor only show two bytes being sent as a Program Change?
Here is some noise I organised into an acceptable format:
https://soundcloud.com/lfo2vco/a-dark-crystal