133 lines
3.3 KiB
HTML
133 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of ARECORDMIDI</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>ARECORDMIDI</H1>
|
|
Section: User Commands (1)<BR>Updated: 17 Sep 2007<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<P>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
arecordmidi - record Standard MIDI Files
|
|
<P>
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>arecordmidi</B>
|
|
|
|
-p client:port[,...] [options] midifile
|
|
<P>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<B>arecordmidi</B>
|
|
|
|
is a command-line utility that records a Standard MIDI File from one or
|
|
more ALSA sequencer ports.
|
|
<P>
|
|
To stop recording, press Ctrl+C.
|
|
<P>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
<DL COMPACT>
|
|
<DT id="1"><I>-h,--help</I>
|
|
|
|
<DD>
|
|
Prints a list of options.
|
|
<P>
|
|
<DT id="2"><I>-V,--version</I>
|
|
|
|
<DD>
|
|
Prints the current version.
|
|
<P>
|
|
<DT id="3"><I>-l,--list</I>
|
|
|
|
<DD>
|
|
Prints a list of possible input ports.
|
|
<P>
|
|
<DT id="4"><I>-p,--port=client:port,...</I>
|
|
|
|
<DD>
|
|
Sets the sequencer port(s) from which events are recorded.
|
|
<P>
|
|
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.
|
|
<P>
|
|
<DT id="5"><I>-b,--bpm=beats</I>
|
|
|
|
<DD>
|
|
Sets the musical tempo of the MIDI file, in beats per minute.
|
|
The default value is 120 BPM.
|
|
<P>
|
|
<DT id="6"><I>-f,--fps=frames</I>
|
|
|
|
<DD>
|
|
Sets the SMPTE resolution, in frames per second.
|
|
Possible values are 24, 25, 29.97 (for 30 drop-frame), and 30.
|
|
<P>
|
|
<DT id="7"><I>-t,--ticks=ticks</I>
|
|
|
|
<DD>
|
|
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.
|
|
<P>
|
|
<DT id="8"><I>-s,--split-channels</I>
|
|
|
|
<DD>
|
|
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,
|
|
<B>arecordmidi</B>
|
|
|
|
will generate a "format 0" file.
|
|
<P>
|
|
<DT id="9"><I>-m,--metronome=client:port</I>
|
|
|
|
<DD>
|
|
Plays a metronome signal on the specified sequencer port.
|
|
<P>
|
|
Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM2/GS/XG
|
|
metronome standard notes), with velocity 100 and duration 1.
|
|
<P>
|
|
<DT id="10"><I>-i,--timesig=numerator:denominator</I>
|
|
|
|
<DD>
|
|
Sets the time signature for the MIDI file and metronome.
|
|
<P>
|
|
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.
|
|
<P>
|
|
</DL>
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Clemens Ladisch <<A HREF="mailto:clemens@ladisch.de">clemens@ladisch.de</A>>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="11"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="12"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="13"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="14"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="15"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:07 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|