ARECORDMIDI(1)
π ARECORDMIDI(1) π
okay so bestie, pull up a chair, we're recording MIDI files from the command line and it's gonna be iconic. This page lives in the General Commands Manual, and it's all about arecordmidi. πΉβ¨
β¨ NAME β¨
arecordmidi β record Standard MIDI Files πΆ
πΈ SYNOPSIS πΈ
arecordmidi -p client:port[,...] [options] midifile
π¦ DESCRIPTION π¦
So arecordmidi is this little command-line utility that records a Standard MIDI File from one or more ALSA sequencer ports. That's it, that's the whole vibe. π§
To stop recording, press Ctrl+C. That's your "we're done here" button, no cap. π
π OPTIONS π
-h,--helpβ prints a list of options. Your lil cheat sheet, bestie. π«Ά-V,--versionβ prints the current version. Gotta know what era we're in. β-l,--listβ prints a list of possible input ports. Window shopping but for ports. ποΈ-p,--port=client:port,...β sets the sequencer port(s) from which events are recorded.
A client can be specified by its number, its name, or a prefix of its name. A port is specified by its number; for port 0 of a client, the ":0" part of the port specification can be omitted. so 128:0 can just be 128 β the little shortcuts, we love them. π
-b,--bpm=beatsβ sets the musical tempo of the MIDI file, in beats per minute. The default value is 120 BPM. π₯-f,--fps=framesβ sets the SMPTE resolution, in frames per second. Possible values are24,25,29.97(for 30 drop-frame), and30. choose your fighter. π¬-t,--ticks=ticksβ sets the resolution of timestamps (ticks) in the MIDI file, in ticks per beat (when using musical tempo) or ticks per frame (when using SMPTE timing). The default value is 384 ticks/beat or 40 ticks/frame, respectively. β¨-s,--split-channelsβ specifies that the data for each MIDI channel should be written to a separate track in the MIDI file. This will result in a "format 1" file. Otherwise, when there is only one track,arecordmidiwill generate a "format 0" file. choose your format era. πΌ-m,--metronome=client:portβ plays a metronome signal on the specified sequencer port.
Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM2/GS/XG metronome standard notes), with velocity 100 and duration 1. tick tock bestie π°οΈ
-i,--timesig=numerator:denominatorβ sets the time signature for the MIDI file and metronome.
The time signature is specified as usual with two numbers, representing the numerator and denominator of the time signature as it would be notated. The denominator must be a power of two. Both numbers should be separated by a colon. The time signature is 4:4 by default. math but make it musical πΌ
π AUTHOR π
Clemens Ladisch <clemens@ladisch.de> β the actual legend behind this. π
and that's the whole page, bestie!! go forth and record some MIDI, you absolute icon π β¨
this was page arecordmidi(1) from the General Commands Manual, dated 17 Sep 2007. mwah, bye!! ππ¦
π¦ where this page comes from
- alpine 3.22: alsa-utils-doc 1.2.14-r0 Β· GPL-2.0-or-later
- alpine 3.23: alsa-utils-doc 1.2.14-r4 Β· GPL-2.0-or-later
- alpine 3.24: alsa-utils-doc 1.2.15.2-r1 Β· GPL-2.0-or-later
- arch rolling: alsa-utils 1.2.16-1 Β· GPL-2.0-or-later
- centos-stream 10: alsa-utils 1.2.16-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: alsa-utils 1.2.16-1.el9 Β· GPLv2+
- debian trixie: alsa-utils 1.2.14-1 Β· GPL-2.0-only
- fedora 43: alsa-utils 1.2.14-2.fc43 Β· GPL-2.0-or-later
- fedora 43: alsa-utils 1.2.16-1.fc43 Β· GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.15.2-3.fc44 Β· GPL-2.0-or-later
- fedora 44: alsa-utils 1.2.16-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: alsa-utils 1.2.14
- nixpkgs unstable: alsa-utils 1.2.16
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: alsa-utils 1.2.14-160000.2.2 Β· GPL-2.0-or-later
- ubuntu questing: alsa-utils 1.2.14-1ubuntu1
- ubuntu resolute: alsa-utils 1.2.15.2-1ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: alsa-utils 1.2.15.2-1ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms