Opcodes that produce MIDI output are:
mdelay
midiout
midiout_i
nrpn
outiat
outic
outic14
outipat
outipb
outipc
outkat
outkc
outkc14
outkpat
outkpb
outkpc