new options for arecordmidi
PATCH 1/1 new options for arecordmidi
Hi,
This patch adds three new options to arecordmidi.
-d,--dump
Shows the received events as text on standard output.
-m,--metronome=client:port
Plays a metronome signal on the specified sequencer port.
Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM metronome standard notes), with velocity 100 and duration 1.
-i,--timesig=numerator:denominator
Sets the time signature for the MIDI file and metronome.
The time signature is specified as usual with two numbers, rep- resenting the numerator and denominator of the time signature as it would be notated. Both numbers should be separated by a colon. The time signature is 4:4 by default.
Regards,
Pedro
Index: arecordmidi.1
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/seq/aplaymidi/arecordmidi.1,v retrieving revision 1.1
arecordmidi.1 +20 -0
@@ -58,5 +58,25 @@ Specifies that the data for each MIDI channel should be written to a separate track in the MIDI file. +.TP +.I -d,--dump +Shows the events received as text on standard output. + +.TP +.I -m,--metronome=client:port +Plays a metronome signal on the specified sequencer port. + +Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM +metronome standard notes), with velocity 100 and duration 1. + +.TP +.I -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. Both numbers should be separated by a colon. The time signature +is 4:4 by default. + .SH AUTHOR Clemens Ladisch <[email protected]>
Index: arecordmidi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/seq/aplaymidi/arecordmidi.c,v retrieving revision 1.1
arecordmidi.c +233 -3
314 lines not on this page · raw message
Quoted 1 line · Pedro Lopez-Cabanillas
This patch adds three new options to arecordmidi.
Committed, with some changes.
Thanks,
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click