Linux command
pmidi 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Play MIDI file
pmidi -p [port] [file.mid]
List MIDI ports
pmidi -l
Play with delay
pmidi -d [seconds] -p [port] [file.mid]
说明
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.
参数
- -p _PORT_
- MIDI output port.
- -l
- List available ports.
- -d _SECONDS_
- Delay before playing.
- --help
- Display help.
FAQ
What is the pmidi command used for?
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.
How do I run a basic pmidi example?
Run `pmidi -p [port] [file.mid]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _PORT_ do in pmidi?
MIDI output port.