| CDPLAY(1) | General Commands Manual | CDPLAY(1) |
cdplay —
cdplay |
[-a audio device]
[-f device]
[command ...] |
cdplay is a program to control the audio features of a
CD-ROM drive.
If no command is given, then cdplay enters
interactive mode, reading commands from the standard input.
The following options are available:
-a
audio deviceAUDIODEV
and SPEAKER will be tried (in this order) to find
the device; as a last resort, /dev/sound will be
used. If the “-a” command line
option is used, or the CDPLAY_DIGITAL environment
variable is present, digital transfer mode is switched on
automatically.-f
devicec’ (or
‘d’ on some architectures, see
disklabel(8) for details)
is added to the device name if needed. If the device not specified, the
environment variables MUSIC_CD,
CD_DRIVE, DISC and
CDPLAY will be tried (in this order) to find the
device.The available commands are listed below. Only as many characters as are required to uniquely identify a command need be specified. The word play can be omitted in all cases.
play
[first_track [last_track]]play
[start_m:start_s.start_f
[end_m:end_s.end_f]]play
[#start_block [length]]nextprevpauseresumeshufflesingle
[track]single command will shut shuffle mode off and play
the disc normally. Only valid in interactive mode.skipstopejectclosevolume
left_channel right_channelvolume
valuevolume
mutevolume
monovolume
stereovolume
leftvolume
rightinfostatusdigital
ncdplay reads digital data from disc and sends it
to an audio device. A SCSI or ATAPI CD-ROM is required; and the audio
device must support CD audio format (44100 Hz sampling rate, 16-bit stereo
samples). Audio data are read and written in groups of
n frames (5 by default, or 1/15 seconds).analoghelpresetset
msfset
lbaquitcdplay command first appeared in
NetBSD 1.5. Support for digital transfer mode was
added in NetBSD 4.0.
| January 3, 2012 | NetBSD 9.2 |