MIDIUSB - MidiUSB.sendMIDI(midiEventPacket_t event)

Using this function you will send a MIDI encoded packet to the PC. You can use it to produce music by reading inputs and transfer the encoded data to a software synth.