# Output text over MIDI to DX7

I am building a raspi device for my dad to send files to a Yamaha DX7 keyboard. The way it was explained to me, It uses regular text files to tell the synth how to play the notes (as in, how it sounds) As my dad explained it he says it receives the text over regular MIDI protocols and doesn't need any special drivers to send it. Beings a bit of a noob to both the pi and nineteen-eighty-something musical equipment, several googling sessions revealed nothing, so I figured I'd ask here. If anyone knows what to do, it would be greatly appreciated.

tl;dr How do I use a python script to send text over MIDI? (via a USB to MIDI adapter, if that matters)

On the command line, use amidi or aplaymidi. There are Python libraries for accessing the ALSA sequencer, but if you already have a .mid or .syx file, it might be easier to just run one of these tools.