Compact Disc subcode
Subcode or subchannel data (called "control bytes" in the CD-ROM specification) refers to data contained in a compact disc (CD) in addition to digital audio or user data, which is used for control and playback of the CD.
Structure
Subchannel data is multiplexed with the digital audio or user digital data. The data in a CD are arranged in frames. A frame comprises 33 bytes, of which 24 bytes are audio or user data, eight bytes are error correction (CIRC-generated), and one byte is for subcode. Frames are arranged in sectors, which contain 98 frames each. The subcode bytes of the first two frames of a sector are used as two synchronization words. The subcode bytes of the remaining 96 frames of a sector are split into eight 96-bit long subcode channels (also called subchannels or simply channels) by putting together the nth bit of each subcode byte together.[1] Each channel has a bit rate of 7.35 (=44.1/6) kbit/s.
Each subcode bit/subchannel is designated by a letter from P to W. The following diagram illustrates how the channels are layed out:[1]
Subcode / control byte | ||||||||
---|---|---|---|---|---|---|---|---|
Bit | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
Channel | P | Q | R | S | T | U | V | W |
Frame 1 | Sync word 1 | |||||||
Frame 2 | Sync word 2 | |||||||
Frame 3 | Channel data |
Channel data |
Channel data |
Channel data |
Channel data |
Channel data |
Channel data |
Channel data |
Frame .. | ||||||||
Frame .. | ||||||||
Frame .. | ||||||||
Frame 98 |
Channels
- Channel P is a simple "pause music" flag, which can be used for low-cost search systems. Many players ignore it in favor of the Q Channel.
- Channel Q is used for control purposes of more sophisticated players. It contains positioning information, the Media Catalog Number (MCN), and International Standard Recording Code (ISRC). The ISRC is used by the media industry, and contains information about the country of origin, the year of publication, owner of the rights, as well as a serial number, and some additional tags:
- Data: Indicates that this track contains data (rather than audio). Can be used for muting in audio CD players.
- Copy flag: Used by the Serial Copy Management System to indicate permission to digitally copy the track.
- Four-channel compact disc digital audio: The track uses four-channel audio (applies only to CD-DA). This is very rarely used on Compact Discs.
- Pre-emphasis: The audio track was recorded with pre-emphasis (applies only to CD-DA). Used very rarely on Compact Discs.
- Channels R through W are unused by Red Book compliant CDs and Yellow Book compliant CD-ROMs, and have been used for extensions to the standard:
- CD-Text is an extension to the Red Book standard for audio CDs. It allows for storage of additional information (e.g. album name, song name, and artist) on the R through W subcode channels on the disc (either in the lead-in area or in the program or main area).
- The CD+G or “karaoke” extension also uses the R through W subcode channels to store low resolution graphics.
Jack on CD players
Some older CD players, such as the Pioneer PD-5010, have a socket for a miniature 8-pin connector on the back labeled "Subcode Out".
References
- ^ a b "Data Interchange on Read-only 120 mm Optical Data Disks (CD-ROM)". ECMA. 1996. Retrieved 2009-04-26.
{{cite journal}}
: Cite journal requires|journal=
(help); Unknown parameter|month=
ignored (help)