8 .Nd compact disc control utility
16 is a program to control audio features of a CD drive.
17 The device is a name such
23 If no command is given, then
25 enters an interactive mode, reading commands from the standard input.
27 The following options are available:
28 .Bl -tag -width indent
30 Silent mode - do not print table headers and human readable comments.
32 Verbose mode - print as much information as possible.
34 Specify a device, such as
38 Both absolute path and relative to
40 filename are possible.
41 Suffix `c' is added to the device name if needed.
44 The available commands are listed below. Only as many
45 characters as are required to uniquely identify a command
49 can be omitted or the characters
59 .It Cm play Ar first_track Op Ar last_track
64 The first track has number 1.
65 Can be omitted in all cases.
67 .Ar start_m : Ns Ar start_s . Ns Ar start_f
68 .Oo Ar end_m : Ns Ar end_s . Ns
71 Play from the absolute address
78 (frame number) to the absolute address defined by
84 (frame number). Minutes are in the range 0-99.
85 Seconds are in the range 0-59.
86 Frame numbers are in the range 0-74.
87 .It Cm play Op Ar #start_block Op length
88 Play starting from the logical block
93 .It Cm next Op Ar tracks
94 Skip forward a number of tracks (default 1).
95 .It Cm prev Op Ar tracks
96 Skip backward a number of tracks (default 1).
111 .It Cm volume Ar left_channel Ar right_channel
112 Set the volume of left channel to
114 and the volume of right channel to
116 Allowed values are in the range 0-255.
117 .It Cm volume Ar mute
119 .It Cm volume Ar mono
121 .It Cm volume Ar stereo
123 .It Cm volume Ar left
124 Play the left subtrack on both left and right channels.
125 .It Cm volume Ar right
126 Play the right subtrack on both left and right channels.
128 Print the table of contents.
130 .Op Ar audio | media | volume
132 Print the information about the disc:
134 .Bl -tag -width "volume" -compact
136 the current playing status and position
138 the current media catalog status
140 the current values of the volume for left and right channels.
143 Display the serial number of the cd using the method used by the
144 cddb (http://www.cddb.org/) project.
146 Print the list of available commands.
148 Enable the debugging mode of the CD device driver.
150 Disable the driver debugging mode.
152 Perform the hardware reset of the device.
154 Set minute-second-frame ioctl mode (default).
161 The following environment variables affect the execution of
164 .Bl -tag -width CD_DRIVE -compact
166 The cd device to use if one isn't specified with the
174 These variables have been deprecated in favour of
178 .Bl -tag -width /dev/mcd0c -compact
184 .An Jean-Marc Zucconi ,
185 .An Andrey A.\ Chernov ,
186 .An Serge V.\ Vakulenko