oreilly.comSafari Books Online.Conferences.


Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.


amidi [options]

Read and write raw MIDI files (.syx format, without timing information) to ALSA ports. For standard MIDI (.mid) files, use aplaymidi and arecordmidi.



Record and send active-sensing (FEh) bytes in MIDI commands. By default, these bytes are ignored.


Output all received data directly to the screen.


Display help information and quit.


List all hardware MIDI ports.


List all RawMIDI definitions. Useful for debugging configuration files.


Use the specified port. This overrides the port set in the configuration file. If neither this flag nor the configuration file sets a port, the default is port 0 on device 0, which may or may not exist.


Write data from the port specified with the -p or --port flag to the file named here. This will be a raw file, and should end in .syx. Unless you use the -a option, it will not contain any Active Sensing (FEh) bytes.


Send the file to the port specified with the -p or --port flag. Use raw (.syx) MIDI files only.


Send a string of hexadecimal numbers to the port specified with the -p or --port flag.


Stop listening after n seconds of receiving no data.


Display version information and quit.

Linux Resources
  • Linux Online
  • The Linux FAQ
  • Linux Kernel Archives
  • Kernel Traffic

  • Sponsored by: