How to write a midi output?

I have try this demo project
and I use midi monitor to observe midi event
but it seems can’t output midi data
is it possible to write a midioutput in this project let it send the midi data?

Could someone help me?

Take a look at the MidiOutput class. You can get the available devices using the getDevices() method and then open one of these by calling openDevice() which will return a pointer to a MidiOutput object that you can call sendMessageNow() on to send MIDI messages.

1 Like