OS Manuals

/usr/bin/amidi

ALSA (Advanced Linux Sound Architecture) command-line utilities: aplay, arecord, amixer, alsamixer, alsactl, speaker-test and more

From alsa-utils 1.2.16-r3 (enterprise-packages), captured 2026-11-08 by running amidi --help (exit 0). permalink

Usage: amidi options

-h, --help                      this help
-V, --version                   print current version
-l, --list-devices              list all hardware ports
-x, --list-inactive             list inactive ports, too
-L, --list-rawmidis             list all RawMIDI definitions
-p, --port=name                 select port by name
-s, --send=file                 send the contents of a (.syx) file
-r, --receive=file              write received data into a file
-S, --send-hex="..."            send hexadecimal bytes
-d, --dump                      print received data as hexadecimal bytes
-T, --timestamp=...             adds a timestamp in front of each dumped message
                realtime
                monotonic
                raw
-t, --timeout=seconds           exits when no data has been received
                                for the specified duration
-a, --active-sensing            include active sensing bytes
-c, --clock                     include clock bytes
-i, --sysex-interval=mseconds   delay in between each SysEx message
Options (15)
OptionDescriptionSource
-h, --helpHelp: prints a list of options.help + man
-V, --versionPrints the current version.help + man
-l, --list-devicesPrints a list of all hardware MIDI ports.help + man
-x, --list-inactiveUse together with -l option.help + man
-L, --list-rawmidisPrints all RawMIDI definitions.help + man
-p, --port nameSets the name of the ALSA RawMIDI port to use.help + man
-s, --send fileSends the contents of the specified file to the MIDI port.help + man
-r, --receive fileWrites data received from the MIDI port into the specified file.help + man
-S, --send-hex "..."Sends the bytes specified as hexadecimal numbers to the MIDI port.help + man
-d, --dumpPrints data received from the MIDI port as hexadecimal bytes.help + man
-T, --timestamp ...adds a timestamp in front of each dumped message realtime monotonic rawhelp
-t, --timeout secondsStops receiving data when no data has been received for the specified amount of time.help + man
-a, --active-sensingDoes not ignore Active Sensing bytes (FEh) when saving or printing received MIDI commands.help + man
-c, --clockDoes not ignore Clock bytes (F8h) when saving or printing received MIDI commands.help + man
-i, --sysex-interval msecondsAdds a delay in between each SysEx message sent to a device.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.