Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

amidi

Synopsis

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.

Options

-a, --active-sensing

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

-d, --dump

Output received data directly to the screen as hexadecimal bytes.

-h, --help

Display help information and quit.

-l, --list-devices

List all hardware MIDI ports.

-L, --list-rawmidis

List all RawMIDI definitions. Useful for debugging configuration files.

-p, --port=name

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.

-r, --receive=filename

Write data from the port specified with the -p or --port flag to the file named here, which is a raw file, and should end in .syx. Unless you use the -a option, the data does not include Active Sensing (FEh) bytes.

-s, --send=filename

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

-S, --send-hex=”hex-numbers..."

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

-t, --timeout=n

Stop listening after n seconds of receiving no data.

-V, --version

Display version information and quit.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page