Compact Disc subcode

Last updated

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. The original specification was defined in the Red Book standard for CD Digital Audio, though further specifications have extended their use (including the CD-ROM, CD Text and CD+G specifications).

Contents

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. [1] Each channel has a bit rate of 7.35 kbit/s.

Each subcode bit/subchannel is designated by a letter from P to W. The following diagram illustrates how the channels are laid out: [1]

Subcode / control byte
Bit87654321
ChannelPQRSTUVW
Frame 1Sync word 1
Frame 2Sync word 2
Frame 3Channel
data
Channel
data
Channel
data
Channel
data
Channel
data
Channel
data
Channel
data
Channel
data
Frame ..
Frame ..
Frame ..
Frame 98

Channels

Both the P and Q channels on a regular audio CD are used for timing information. They assist the CD player in tracking the current location on the disc, and to provide the timing information for the time display on the CD player. The rest are not used in the Red Book specification.

Jack on CD players

Some older CD players, such as the Pioneer PD-5010, have a socket for an eight-pin mini-DIN connector on the back labeled "Subcode Out".

CD Player Subcode Out Socket Pin-Out.svg

Related Research Articles

<span class="mw-page-title-main">Compact disc</span> Digital optical disc data storage format

The compact disc (CD) is a digital optical disc data storage format that was co-developed by Philips and Sony to store and play digital audio recordings. The first compact disc was manufactured in August 1982, and was first released in Japan in October 1982 as Compact Disc Digital Audio. The CD was more compact than the LaserDisc (LD) developed in the 1970s. The CD gained rapid popularity in the 1990s. It quickly outsold all other audio formats in the United States by 1991, ending the market dominance of the phonograph record and the cassette tape. By 2000, the CD accounted for 92.3% of the entire market share in regard to music sales. The CD is considered the last dominant audio format of the album era, as the rise of MP3, iTunes, cellular ringtones, and other downloadable music formats in the mid-2000s ended the decade-long dominance of the CD.

<span class="mw-page-title-main">Disk storage</span> General category of storage mechanisms

Disk storage is a data storage mechanism based on a rotating disk. The recording employs various electronic, magnetic, optical, or mechanical changes to the disk's surface layer. A disk drive is a device implementing such a storage mechanism. Notable types are hard disk drives (HDD), containing one or more non-removable rigid platters; the floppy disk drive (FDD) and its removable floppy disk; and various optical disc drives (ODD) and associated optical disc media.

<span class="mw-page-title-main">ISO 9660</span> File system for CD-R and CD-ROM optical discs

ISO 9660 is a file system for optical disc media. The file system is an international standard available from the International Organization for Standardization (ISO). Since the specification is available for anybody to purchase, implementations have been written for many operating systems.

<span class="mw-page-title-main">Compact Disc Digital Audio</span> Data format used for audio compact discs

Compact Disc Digital Audio, also known as Digital Audio Compact Disc or simply as Audio CD, is the standard format for audio compact discs. The standard is defined in the Red Book, one of a series of Rainbow Books that contain the technical specifications for all CD formats.

<span class="mw-page-title-main">Video CD</span> CD-based format meant for digital video distribution

Video CD is a home video format and the first format for distributing films on standard 120 mm (4.7 in) optical discs. The format was widely adopted in Southeast Asia, South Asia, Greater China, Central Asia and West Asia, superseding the VHS and Betamax systems in the regions until DVD-Video finally became affordable in the first decade of the 21st century.

AES3 is a standard for the exchange of digital audio signals between professional audio devices. An AES3 signal can carry two channels of pulse-code-modulated digital audio over several transmission media including balanced lines, unbalanced lines, and optical fiber.

<span class="mw-page-title-main">CD player</span> Electronic device that plays audio compact discs

A CD player is an electronic device that plays audio compact discs, which are a digital optical disc data storage format. CD players were first sold to consumers in 1982. CDs typically contain recordings of audio material such as music or audiobooks. CD players may be part of home stereo systems, car audio systems, personal computers, or portable CD players such as CD boomboxes. Most CD players produce an output signal via a headphone jack or RCA jacks. To use a CD player in a home stereo system, the user connects an RCA cable from the RCA jacks to a hi-fi and loudspeakers for listening to music. To listen to music using a CD player with a headphone output jack, the user plugs headphones or earphones into the headphone jack.

The Serial Copy Management System (SCMS) is a copy protection scheme that was created in response to the digital audio tape (DAT) invention, in order to prevent DAT recorders from making second-generation or serial copies. SCMS sets a "copy" bit in all copies, which prevents anyone from making further copies of those first copies. It does not, however, limit the number of first-generation copies made from a master.

An optical disc image is a disk image that contains everything that would be written to an optical disc, disk sector by disc sector, including the optical disc file system. ISO images contain the binary image of an optical media file system, including the data in its files in binary format, copied exactly as they were stored on the disc. The data inside the ISO image will be structured according to the file system that was used on the optical disc from which it was created.

<span class="mw-page-title-main">CD+G</span> Compact disc format used primarily for karaoke discs

CD+G is an extension of the compact disc standard that can present low-resolution graphics alongside the audio data on the disc when played on a compatible device. CD+G discs are often used for karaoke machines, which use this functionality to present on-screen lyrics for the song contained on the disc. The CD+G specifications were published by Philips and Sony as an extension of the Red Book specifications.

CD/DVD copy protection is a blanket term for various methods of copy protection for CDs and DVDs. Such methods include DRM, CD-checks, Dummy Files, illegal tables of contents, over-sizing or over-burning the CD, physical errors and bad sectors. Many protection schemes rely on breaking compliance with CD and DVD standards, leading to playback problems on some devices.

A cue sheet, or cue file, is a metadata file which describes how the tracks of a CD or DVD are laid out. Cue sheets are stored as plain text files and commonly have a .cue filename extension. CDRWIN first introduced cue sheets, which are now supported by many optical disc authoring applications and media players.

<span class="mw-page-title-main">CD-Text</span> CD-based format that allows for song information to be stored alongside audio data

CD-Text is an extension of the Red Book Compact Disc specifications standard for audio CDs. It allows storage of additional information on a standards-compliant audio CD.

.cda is a common filename extension denoting a small stub file generated by Microsoft Windows for each audio track on a standard "Red Book" CD-DA format audio CD as defined by the Table of Contents (ToC). These files are shown in the directory for the CD being viewed in the format Track##.cda, where ## is the number of each individual track.

<span class="mw-page-title-main">Track (optical disc)</span> Optical disc subdivision

On an optical disc, a track (CD) or title (DVD) is a subdivision of its content. Specifically, it is a consecutive set of sectors on the disc containing a block of data. One session may contain one or more tracks of the same or different types. There are several kinds of tracks, and there is also a sub-track index for finding points within a track.

Cactus Data Shield (CDS) is a form of CD/DVD copy protection for audio compact discs developed by Israeli company Midbar Technologies. It has been used extensively by EMI, BMG and their subsidiaries. CDS relies on two components: Erroneous Disc Navigation and Data Corruption.

An NRG file is a proprietary optical disc image file format originally created by Nero AG for the Nero Burning ROM utility. It is used to store disc images. Other than Nero Burning ROM, however, a variety of software titles can use these image files. For example, Alcohol 120%, or Daemon Tools can mount NRG files onto virtual drives for reading.

PMCD is a specially formatted, recordable Compact Disc designed to be sent to a CD pressing plant for replication. The PreMaster CD format, developed in the early 1990s by the CD-ROM division of Sony, in cooperation with "START Lab Inc." of Tokyo and Sonic Solutions, contained a hidden "PreMaster Cue Sheet" that held the metadata needed for replication that a Red Book CD-DA lacks. The PreMaster CD format made use of the fact that not all data-recording surfaces are specified for use in the Red Book CD-DA or Yellow Book CD-ROM standards. CD transports were not able to recover the data hidden in the Cue Sheet unless commanded to by proprietary software. The Cue Sheet specified a broad range of metadata, including number of channels, per track pre-emphasis status, per track copy protection bit setting, per track ISRC Codes, per disc UPC/EAN, etc.

<span class="mw-page-title-main">CD-ROM</span> Pre-pressed compact disc containing computer data

A CD-ROM is a type of read-only memory consisting of a pre-pressed optical compact disc that contains data. Computers can read—but not write or erase—CD-ROMs. Some CDs, called enhanced CDs, hold both computer data and audio with the latter capable of being played on a CD player, while data is only usable on a computer.

<span class="mw-page-title-main">Super Video CD</span> Video CD-based optical disc format

Super Video CD is a digital format for storing video on standard compact discs. SVCD was intended as a successor to Video CD and an alternative to DVD-Video, and falls somewhere between both in terms of technical capability and picture quality.

References

  1. 1 2 3 "Data Interchange on Read-only 120 mm Optical Data Disks (CD-ROM)". ECMA. June 1996. Retrieved 2009-04-26.
  2. "INFORMATION ON CD FORMATS". www.csun.edu. Retrieved 2022-06-26.