Hey all,
I’m trying to change MioXM presets via osc over network MIDI. I have everything configured so that when I fire PC 1 or 2 from Ableton to the output “Network MIO CONTROL”, it correctly forwards that PC to the Mio Control port and swaps between presets 1 and 2. However, when I create a button in Ablest Canvas and setup the OSC command to: /midi/send/pc Network MIO CONTROL 1 1 or /midi/send/pc Network MIO CONTROL 1 2 … nothing happens. The command isn’t being received by my Mio at all, as no lights are illuminating on the front face of the device.
I have checked to make sure that the midi channel is named correctly (Network MIO CONTROL) and through the /midi/outputs osc protocol I was able to confirm that my naming is correct.
Would really appreciate any help to what I’m missing here!
Hey @cameronsimons,
The syntax is the issue here. Your output name “Network MIO CONTROL” contains spaces, and AbleSet’s OSC parser splits arguments by spaces by default. So /midi/send/pc Network MIO CONTROL 1 1 is actually being parsed as 4 separate arguments (“Network”, “MIO”, “CONTROL”, “1”, “1”) instead of one output name plus channel and program.
To fix it, wrap the output name in quotes so it’s treated as a single string:
/midi/send/pc "Network MIO CONTROL" 1 1
The full command structure is:
/midi/send/pc [output] [channel] [program]
So for preset 2 you’d use:
/midi/send/pc "Network MIO CONTROL" 1 2
It’s also worth double-checking that the name matches exactly what AbleSet has for that MIDI output. You can verify this in Settings under MIDI Mapping, OSC & Scripting > Edit MIDI Mapping where the MIDI devices are listed.
Hope that helps!