amidi command examples
amidi – read from and write to ALSA RawMIDI ports
#amidi -p hw:0 -s my_settings.syx
will send the MIDI commands in my_settings.syx to port hw:0.
#amidi -S 'F0 43 10 4C 00 00 7E 00 F7'
sends an XG Reset to the default port.
#amidi -p hw:1,2 -S F0411042110C000000000074F7 -r dump.syx -t 1
sends a “Parameter Dump Request” to a GS device, saves the received parameter data to the file dump.syx, and stops after the device has finished sending data (when no data has been received for one second).
#amidi -p virtual -d
creates a virtual RawMIDI port and prints all data sent to this port.