ARECORDMIDI(1)

πŸ“¦
version 1.2.16 Β· 2 versions
  • 1.2.16 Β· alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.2.9 Β· debian bookworm, ubuntu jammy, ubuntu noble
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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 are 24, 25, 29.97 (for 30 drop-frame), and 30. 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, arecordmidi will 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!! πŸŽ€πŸ¦‹