To use the node in your project you should have the e/usb-midi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.
C++ implementation
#pragma XOD require "https://github.com/arduino-libraries/MIDIUSB"
#include <MIDIUSB.h>
node {
meta {
using Type = MIDI_*;
}
void evaluate(Context ctx) {
emitValue<output_MIDI>(ctx, &MidiUSB);
}
}