Linux command
aplaymidi 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Play
aplaymidi -p [hw:1,0] [file.mid]
List
aplaymidi -l
Example
aplaymidi -p [hw:1,0] -d [2] [file.mid]
说明
aplaymidi plays MIDI files through ALSA sequencer ports. It sends MIDI events to connected hardware synthesizers, software synths, or other MIDI applications. Unlike audio players, aplaymidi only sends MIDI messages; actual sound generation depends on the receiving device or software.
参数
- -p _client:port_, --port _client:port_
- Set the sequencer port(s) to which MIDI events are sent. A client can be specified by number, name, or name prefix.
- -l, --list
- List available MIDI ports
- -d _seconds_, --delay _seconds_
- Delay after the end of each MIDI file, to allow the last notes to die away.
- -h, --help
- Print a list of options.
- -V, --version
- Print the current version.
FAQ
What is the aplaymidi command used for?
aplaymidi plays MIDI files through ALSA sequencer ports. It sends MIDI events to connected hardware synthesizers, software synths, or other MIDI applications. Unlike audio players, aplaymidi only sends MIDI messages; actual sound generation depends on the receiving device or software.
How do I run a basic aplaymidi example?
Run `aplaymidi -p [hw:1,0] [file.mid]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _client:port_, --port _client:port_ do in aplaymidi?
Set the sequencer port(s) to which MIDI events are sent. A client can be specified by number, name, or name prefix.