LinuxCommandLibrary

pmidi

Play MIDI files via ALSA sequencer

TLDR

Play MIDI file

$ pmidi -p [port] [file.mid]
copy
List MIDI ports
$ pmidi -l
copy
Play with delay
$ pmidi -d [seconds] -p [port] [file.mid]
copy

SYNOPSIS

pmidi [options] [file]

DESCRIPTION

pmidi plays standard MIDI files through the ALSA sequencer interface. It sends MIDI events to a specified output port, which can be a hardware synthesizer, software synth like FluidSynth or TiMidity, or any ALSA MIDI device.
Use -l to list available MIDI ports and -p to select the target port for playback. The tool provides straightforward MIDI file playback without the overhead of a full media player.

PARAMETERS

FILE

MIDI file to play.
-p PORT
MIDI output port.
-l
List available ports.
-d SECONDS
Delay before playing.
--help
Display help.

CAVEATS

ALSA only. Requires MIDI port. Linux specific.

HISTORY

pmidi is part of ALSA utilities for MIDI playback.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community