Send Midi SYSEX message from Soundflow?
Hello!
I am trying to send a simple sysex message via midi.
there is no sysex option from the midi drop down menu.
the string i want to send is:
240 28 96 1 0 124 70 69 52 54 66 67
thank you!
Philip
- TTorsten Zumhof @Torsten_Zumhof
Hey Philip,
I have a Faderfox connected via USB and to switch the surface I have to send SysEx Data.
I do it this way:const sysExMessage = [0xF0, 0x00, 0x00, 0x00, 0x4E, 0x2C, 0x1B, 0x4E, 0x28, 0x10, 0x4E, 0x24, 0x11, 0xF7]; sf.midi.send({ outputNum: 8, midiBytes: sysExMessage externalMidiPort: "Faderfox EC4" });
I think you have to translate your string to hexadecimal first.
Christian Scheuer @chrscheuer2024-10-12 16:44:15.082Z
Thanks Torsten!
The message just needs to be an array of numbers (0..255) representing each byte of the midi message. Those numbers can be encoded using hexidecimal notation, as you did (0x...), or as regular decimals.
In Philip's case, he could do:
const sysExMessage = [240, 28, 96, 1, 0, 124, 70, 69, 52, 54, 66, 67]; sf.midi.send({ midiBytes: sysExMessage, externalMidiPort: "Name of the external port to send to" });
- PPhilip weinrobe @Philip_weinrobe
hi everyone
went to fire up this script today (it had been a few months, working when i last left it) and now i get an error.here's the exact script i'm running
const sysExMessage = [240, 28, 96, 1, 0, 124, 70, 69, 52, 54, 66, 67]; sf.midi.send({ midiBytes: sysExMessage, externalMidiPort: "H3500" });
and here's the error:
28.03.2025 12:18:00.35 <info> [Backend]: !! Command Error: SYSEX [user:default:cm2dheudb00004w10u34turlm]: Object reference not set to an instance of an object. (SYSEX: Line 4) System.NullReferenceException: Object reference not set to an instance of an object. at SoundFlow.Shortcuts.ExternalMidiController.Send(String destinationName, MidiPacket[] packets) + 0x24 at SoundFlow.Shortcuts.Automation.Actions.MidiSendAction.Execute(MidiSendResult result) + 0x44 at SoundFlow.Shortcuts.Automation.AutoAction`1.<Run>d__25.MoveNext() + 0x16c << Command: SYSEX [user:default:cm2dheudb00004w10u34turlm]
any help appreciated!
Christian Scheuer @chrscheuer2025-03-28 20:42:56.532Z
Hi Philip,
That looks like a SoundFlow bug. Please send us a Help/Issue report so we have your full log files and can track it.
- PPhilip weinrobe @Philip_weinrobe
i jumped on with Chad and solved it. seems to have been local to my system