mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
manpages: remove bogus .ID macro, use .TP for examples
This commit is contained in:
parent
36b797f335
commit
ce70bf037a
3 changed files with 9 additions and 21 deletions
|
@ -117,31 +117,27 @@ received MIDI commands.
|
||||||
|
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
|
|
||||||
.SS
|
.TP
|
||||||
.B amidi -p hw:0 -s my_settings.syx
|
.B amidi -p hw:0 -s my_settings.syx
|
||||||
.ID
|
|
||||||
will send the MIDI commands in
|
will send the MIDI commands in
|
||||||
.I my_settings.syx
|
.I my_settings.syx
|
||||||
to port
|
to port
|
||||||
.I hw:0.
|
.I hw:0.
|
||||||
|
|
||||||
.SS
|
.TP
|
||||||
.B amidi -S 'F0 43 10 4C 00 00 7E 00 F7'
|
.B amidi -S 'F0 43 10 4C 00 00 7E 00 F7'
|
||||||
.ID
|
|
||||||
sends an XG Reset to the default port.
|
sends an XG Reset to the default port.
|
||||||
|
|
||||||
.SS
|
.TP
|
||||||
.B amidi -p hw:1,2 -S F0411042110C000000000074F7 -r dump.syx -t 1
|
.B amidi -p hw:1,2 -S F0411042110C000000000074F7 -r dump.syx -t 1
|
||||||
.ID
|
|
||||||
sends a \(lqParameter Dump Request\(rq to a GS device, saves the received
|
sends a \(lqParameter Dump Request\(rq to a GS device, saves the received
|
||||||
parameter data to the file
|
parameter data to the file
|
||||||
.I dump.syx,
|
.I dump.syx,
|
||||||
and stops after the device has finished sending data
|
and stops after the device has finished sending data
|
||||||
(when no data has been received for one second).
|
(when no data has been received for one second).
|
||||||
|
|
||||||
.SS
|
.TP
|
||||||
.B amidi -p virtual -d
|
.B amidi -p virtual -d
|
||||||
.ID
|
|
||||||
creates a virtual RawMIDI port and prints all data sent to this port.
|
creates a virtual RawMIDI port and prints all data sent to this port.
|
||||||
|
|
||||||
.SH FILES
|
.SH FILES
|
||||||
|
|
|
@ -94,10 +94,8 @@ Quiet mode. Do not show results of changes.
|
||||||
.SS
|
.SS
|
||||||
Example #1:
|
Example #1:
|
||||||
|
|
||||||
.RS
|
.TP
|
||||||
\fBamixer -c 1 sset Line,0 80%,40% unmute cap\fR
|
\fBamixer -c 1 sset Line,0 80%,40% unmute cap\fR
|
||||||
|
|
||||||
.ID
|
|
||||||
will set the second soundcard's left line input volume to 80% and
|
will set the second soundcard's left line input volume to 80% and
|
||||||
right line input to 40%, unmute it, and select it as a source for
|
right line input to 40%, unmute it, and select it as a source for
|
||||||
capture (recording).\fR
|
capture (recording).\fR
|
||||||
|
@ -105,19 +103,15 @@ capture (recording).\fR
|
||||||
.SS
|
.SS
|
||||||
Example #2:
|
Example #2:
|
||||||
|
|
||||||
.RS
|
.TP
|
||||||
\fBamixer -c 2 cset iface=MIXER,name='Line Playback Volume",index=1 40%\fR
|
\fBamixer -c 2 cset iface=MIXER,name='Line Playback Volume",index=1 40%\fR
|
||||||
|
|
||||||
.ID
|
|
||||||
will set the third soundcard's second line playback volume(s) to 40%
|
will set the third soundcard's second line playback volume(s) to 40%
|
||||||
|
|
||||||
.SS
|
.SS
|
||||||
Example #3:
|
Example #3:
|
||||||
|
|
||||||
.RS
|
.TP
|
||||||
\fBamixer -c 2 cset numid=34 40%\fR
|
\fBamixer -c 2 cset numid=34 40%\fR
|
||||||
|
|
||||||
.ID
|
|
||||||
will set the 34th soundcard element to 40%
|
will set the 34th soundcard element to 40%
|
||||||
|
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
|
|
|
@ -113,15 +113,13 @@ One file for each channel
|
||||||
.SS
|
.SS
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.RS
|
.TP
|
||||||
\fBaplay -c 1 -t raw -r 22050 -f mu_law foobar\fR
|
\fBaplay -c 1 -t raw -r 22050 -f mu_law foobar\fR
|
||||||
|
|
||||||
.ID
|
|
||||||
will play the raw file "foobar" as a
|
will play the raw file "foobar" as a
|
||||||
22050-Hz, mono, 8-bit, Mu-Law .au file.
|
22050-Hz, mono, 8-bit, Mu-Law .au file.
|
||||||
|
|
||||||
|
.TP
|
||||||
\fBarecord -d 10 -f cd -t wav -D copy foobar.wav\fP
|
\fBarecord -d 10 -f cd -t wav -D copy foobar.wav\fP
|
||||||
|
|
||||||
will record foobar.wav as a 10-second, CD-quality wave file, using the
|
will record foobar.wav as a 10-second, CD-quality wave file, using the
|
||||||
PCM "copy" (which might be defined in the user's .asoundrc file as:
|
PCM "copy" (which might be defined in the user's .asoundrc file as:
|
||||||
.nf
|
.nf
|
||||||
|
|
Loading…
Reference in a new issue