I want to send SysEx data to a physical midiout port.
My attempts to try it with tracktion::MidiOutputDevice::fireMessage() didn’t work. Seems like this function doesn’t handle SysEx data.
void MidiOutputDevice::fireMessage (const juce::MidiMessage& message)
{
if (! message.isMetaEvent())
{
sendMessageNow (message);
if (message.isNoteOnOrOff())
{
const juce::ScopedLock sl (noteOnLock);
if (message.isNoteOn())
midiNotesOn.setBit (message.getNoteNumber());
else if (message.isNoteOff())
midiNotesOn.clearBit (message.getNoteNumber());
channelsUsed.setBit (message.getChannel());
}
else if (message.isController() && message.getControllerNumber() == 64)
{
sustain = message.getControllerValue();
}
}
}
Is there a special reason for this? Whats the correct way to send SysEx data to an external midi device?
