pmidi (1)
NAME
pmidi - A midi file player for ALSA.
SYNOPSIS
pmidi [ -pclient:port ] [ -l ] [ -ddelay ] file...
DESCRIPTION
The pmidi command reads in the specified midi files and plays them
through the ALSA sequencer. You can specify on the command line which
sequencer port that you wish to use. Use the -l option to get a list
of possible sequencer ports for your machine.
OPTIONS
-pclient:port
Specify the ALSA port to send the midi file to.
-l List the possible output ports that could be used.
-ddelay
Delay after song ends. This is used to prevent the last note of
a song being chopped off early. The default is two seconds.
Port numbers
You can specify client:port numbers in the ALSA_OUTPUT_PORTS environ-
ment variable. You can also supply a comma (or space if quoted cor-
rectly) separated list of client:port numbers. This will allow you to
play midi files that use more than 16 channels.
Examples
pmidi song.mid song2.mid
pmidi -p "64:0, 64:1" song.mid
ENVIRONMENT
ALSA_OUTPUT_PORTS Port to use in playing midi file.
SEE ALSO
playmidi(1)
AUTHOR
Steve Ratcliffe <steve@parabola.demon.co.uk>
Dec 1 2002 pmidi(1)