aplaymidi

aplaymidi

The aplaymidi command in Linux is used to play MIDI files on a MIDI device. MIDI is a standard that allows computers and electronic musical instruments to communicate with each other.

Here are some examples of how to use the aplaymidi command:

# To play the MIDI file `mysong.mid` on the first MIDI port:
aplaymidi mysong.mid

# To play the MIDI file `mysong.mid` on the second MIDI port at a playback rate of 120 BPM:
aplaymidi -p 1 -r 120 mysong.mid

# To show help for the aplaymidi command:
aplaymidi -h

help

aplaymidi [options] filename

Play MIDI file on a MIDI device.

Options:

-c, --channels=CHANNELS       Use CHANNELS channels (default 1).
-r, --rate=RATE              Set playback rate (default 44100).
-p, --port=PORT              Use MIDI port PORT (default 0).
--list-devices               List available MIDI devices.
--verbose                    Be more verbose.
-h, --help                   Show this help message.
-V, --version                Print version information.

For more information, see the aplaymidi man page.

breakdown

Last updated