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.  This  will  result  in  a
61              "format  1"  file.   Otherwise,  when  there  is only one track,
62              arecordmidi will generate a "format 0" file.
63
64
65       -m,--metronome=client:port
66              Plays a metronome signal on the specified sequencer port.
67
68              Metronome sounds are played on channel 10, MIDI notes  33  &  34
69              (GM2/GS/XG  metronome  standard  notes),  with  velocity 100 and
70              duration 1.
71
72
73       -i,--timesig=numerator:denominator
74              Sets the time signature for the MIDI file and metronome.
75
76              The time signature is specified as usual with two numbers,  rep‐
77              resenting the numerator and denominator of the time signature as
78              it would be notated. The denominator must be  a  power  of  two.
79              Both  numbers should be separated by a colon. The time signature
80              is 4:4 by default.
81
82

AUTHOR

84       Clemens Ladisch <clemens@ladisch.de>
85
86
87
88                                  17 Sep 2007                   ARECORDMIDI(1)
Impressum