Hi,
So I want to listen to a /sysex message that I send with my device.
At the moment I'm able to listen to "normal" MIDI events such as a /control message for that I configure the widgets this way (assuming I use 1 widget to send MIDI control messages and other widget (text widget) for listening to it).
Sending value knob
"id": "knob_2",
(...)
"range": {
"min": 0,
"max": 127
(...)
"address": "/control",
"preArgs": [
9,
14
],
(...)
"target": "midi:virtual-launchcontrolxl",
(...)
Listening text Widget
"id": "text2",
(...)
"value": "OSC{/control , noidea}",
(...)
"address": "/control",
"preArgs": [
9,
14
],
"target": "midi:virtual-launchcontrolxl",
(...)
This text widget will show "noidea" when the device is initiated , and as soon as I move the knob it will start displaying the knobs value. So for this good
Now I'm trying to , by analogy, achieve the same but with sysex
messages which in turn have no MIDI Channel assigned or value (the typology of them as you know are not defined)
So I want an event to listen to the incoming sysex
then filter them by doing some JS
magic . But I'm not able to retrieve them with the following syntax:
- Asumming I have (2 widgets : 1 Button sending Sysex , 1 Text listening to them)
Button widget
"id": "buttonA",
(...)
"target": "midi:virtual-launchcontrolxl",
(...)
"script": "send(\"/sysex\", \"f0 00 20 29 02 11 77 00 f7\")"
(...)
Its been checked and It does send those sysex
Text widget
"id": "text1",
(...)
"value": "OSC{/sysex , noidea}",
"default": "",
"linkId": "",
"address": "auto",
"preArgs": "",
"target": "midi:virtual-launchcontrolxl",
"script": "",
"vertical": false,
"wrap": false,
"align": "center",
I may be commiting a mistake , if anyone is able to see that please let me know.
Thanks very much