1ARECORDMIDI(1)              General Commands Manual             ARECORDMIDI(1)
2
3
4

NAME

6       arecordmidi - record Standard MIDI Files
7
8

SYNOPSIS

10       arecordmidi -p client:port[,...] [options] midifile
11
12

DESCRIPTION

14       arecordmidi is a command-line utility that records a Standard MIDI File
15       from one or more ALSA sequencer ports.
16
17       To stop recording, press Ctrl+C.
18
19

OPTIONS

21       -h,--help
22              Prints a list of options.
23
24
25       -V,--version
26              Prints the current version.
27
28
29       -l,--list
30              Prints a list of possible input ports.
31
32
33       -p,--port=client:port,...
34              Sets the sequencer port(s) from which events are recorded.
35
36              A client can be specified by its number, its name, or  a  prefix
37              of  its name. A port is specified by its number; for port 0 of a
38              client, the ":0" part of the port specification can be omitted.
39
40
41       -b,--bpm=beats
42              Sets the musical tempo of the MIDI file, in  beats  per  minute.
43              The default value is 120 BPM.
44
45
46       -f,--fps=frames
47              Sets  the SMPTE resolution, in frames per second.  Possible val‐
48              ues are 24, 25, 29.97 (for 30 drop-frame), and 30.
49
50
51       -t,--ticks=ticks
52              Sets the resolution of timestamps (ticks) in the MIDI  file,  in
53              ticks  per  beat  (when  using musical tempo) or ticks per frame
54              (when using SMPTE timing).  The default value is 384  ticks/beat
55              or 40 ticks/frame, respectively.
56
57
58       -s,--split-channels
59              Specifies  that the data for each MIDI channel should be written
60              to a separate track in the MIDI file.
61
62
63       -m,--metronome=client:port
64              Plays a metronome signal on the specified sequencer port.
65
66              Metronome sounds are played on channel 10, MIDI notes  33  &  34
67              (GM2/GS/XG  metronome  standard  notes),  with  velocity 100 and
68              duration 1.
69
70
71       -i,--timesig=numerator:denominator
72              Sets the time signature for the MIDI file and metronome.
73
74              The time signature is specified as usual with two numbers,  rep‐
75              resenting the numerator and denominator of the time signature as
76              it would be notated. The denominator must be  a  power  of  two.
77              Both  numbers should be separated by a colon. The time signature
78              is 4:4 by default.
79
80

AUTHOR

82       Clemens Ladisch <clemens@ladisch.de>
83
84
85
86                                  6 Apr 2004                    ARECORDMIDI(1)
Impressum