
42
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-D, --device=devicename
Select a PCM device by name.
-q Do not display messages.
-t, --file-type=type
Name the file type used. Files may be voc, wav, raw, or au.
-c, --channels=n
Use n channels: 1 for mono, 2 for stereo.
-f, --format=format
Specify the sample format. The sample formats available will
depend on hardware. For CD and DAT output, use the cd and
dat shortcuts, which set the sample rate, format, and channel
numbers all at once.
-r, --rate=n
Set the sample rate in Hertz.
-d, --duration=n
Set an interrupt for n seconds after playback begins.
-s, --sleep-min=n
aplaymidi
aplaymidi [options] [file]
Play MIDI files using the ALSA sound system; output is to ALSA
sequencer ports.
Options
-d, --delay=n
Delay n seconds at the end of a file to allow for reverberation
of the final notes.
-h Print help message, then exit.
-V Print version and quit.
-l List output ports available.
-p, --port=client:port
Specify the port to which the MIDI file will be sent. If no port
is specified, the file will be sent to port 0.
apm
apm [options]
Display current Advanced Power Management hardware informa-
tion, such as battery life, or send the system into standby or
suspend-to-disk mode. Used on older systems, and replaced by
acpi and related commands.
-V, --version
Display version information and ...