← 返回命令列表

Linux command

arecordmidi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Record

arecordmidi -p [hw:1,0] [recording.mid]

List

arecordmidi -l

Example

arecordmidi -p [hw:1,0] -b [120] [recording.mid]

Example

arecordmidi -p [hw:1,0] -m [hw:1,0] [recording.mid]

说明

arecordmidi records MIDI data from ALSA sequencer ports to a Standard MIDI File. It captures note events, control changes, and other MIDI messages from connected keyboards or controllers. The tool is useful for capturing performances without running a full DAW application.

参数

-p _port_, --port _port_
Source port(s) to record from
-l, --list
List available ports
-b _bpm_, --bpm _bpm_
Beats per minute
-t _ticks_, --ticks _ticks_
Ticks per quarter note (default: 384)
-s, --split-channels
Split channels to separate tracks
-m _port_, --metronome _port_
Output metronome to port
-i _ticks_, --timesig _ticks_
Time signature (n/d format)

FAQ

What is the arecordmidi command used for?

arecordmidi records MIDI data from ALSA sequencer ports to a Standard MIDI File. It captures note events, control changes, and other MIDI messages from connected keyboards or controllers. The tool is useful for capturing performances without running a full DAW application.

How do I run a basic arecordmidi example?

Run `arecordmidi -p [hw:1,0] [recording.mid]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p _port_, --port _port_ do in arecordmidi?

Source port(s) to record from