Subcodes

written by: Terry McLean; article published: year 2006, month 08;


In: Categories » Computers and technology » Storage devices » Subcodes

Subcode bytes enable the drive to find songs (which are confusingly also called tracks) along the spiral track and also contain or convey additional information about the disc in general. The subcode bytes are stored as 1 byte per frame, which results in 98 subcode bytes for each sector. Two of these bytes are used as start block and end block markers, leaving 96 bytes of subcode information. These are then divided into eight 12-byte subcode blocks, each of which is assigned a letter designation PW. Each subcode channel can hold about 31.97MB of data across the disc, which is about 4% of the capacity of an audio disc. The interesting thing about the subcodes is that the data is woven continuously throughout the disc; in other words, subcode data is contained piecemeal in every sector on the disc.

The P and Q subcode blocks are used on all discs, and the RW subcodes are used only on CD+G (graphics) or CD TEXTtype discs.

The P subcode is used to identify the start of the tracks on the CD. The Q subcode contains a multitude of information, including

  • Whether the sector data is audio (CD-DA) or data (CD-ROM). This prevents most players from trying to "play" CD-ROM data discs, which might damage speakers due to the resulting noise that would occur.

  • Whether the audio data is two or four channel. Four channel is rarely if ever used.

  • Whether digital copying is permitted. PC-based CD-R and RW drives ignore this; it was instituted to prevent copying to DAT (digital audio tape) or home audio CD-R/RW drives.

  • Whether the music is recorded with pre-emphasis. This is a hiss or noise reduction technique.

  • The track (song) layout on the disc.

  • The track (song) number.

  • The minutes, seconds, and frame number from the start of the track (song).

  • A countdown during an intertrack (intersong) pause.

  • The minutes, seconds, and frames from the start of the first track (song).

  • The barcode of the CD.

  • The ISRC (International Standard Recording Code). This is unique to each track (song) on the disc.

The R-W subcodes are used on CD+G (graphics) discs to contain graphics and text. This enables a limited amount of graphics and text to be displayed while the music is being played. These same subcodes are used on CD TEXT discs to store disc- and track-related information that is added to standard audio CDs for playback on compatible CD audio players. The CD TEXT information is stored as ASCII characters in the RW channels in the lead-in and program areas of a CD. On a CD TEXT disc, the lead-in area subcodes contain text information about the entire disc, such as the album, track (song) titles, and artist names. The program area subcodes, on the other hand, contain text information for the current track (song), including track title, composer, performers, and so on. The CD TEXT data is repeated throughout each track to reduce the delay in retrieving the data.

CD TEXTcompatible players typically have a text display to show this information, ranging from a simple one- or two-line, 20-character display such as on many newer RBDS (radio broadcast data system) automobile radio/CD players to up to 21 lines of 40-color, alphanumeric or graphics characters on home- or computer-based players. The specification also allows for future additional data, such as Joint Photographics Expert Group (JPEG) images. Interactive menus also can be used for the selection of text for display.

legal disclaimer

1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service

Useful tools and features

Translate this article to...    Send this article to you or to a friend

Link to this article from your page   
If you like this article (tutorial), please link to it from your web page using the information above. Linking to this page, this is the only way to help us improve our service, the same time providing your visitors with a way to improve their online experience.

related articles

1. DVD Copy Protection
DVD video discs employ several levels of protection that are mainly controlled by the DVD Copy Control Association (DVD CCA) and a third-party company called Macrovision. This protection typically applies only to DVD-Video discs, not DVD-ROM software. So, for example, copy protection might affect your ability to make backup copies of The Matrix, but it won't affect a DVD encyclopedia or other software application distributed on DVD-ROM discs. Note that every one of these protection systems has been broken, so with a lit...

2. How to Manually Resolve Motherboard Conflicts
In the past, the only way to resolve conflicts manually was to take the cover off your system and start changing switches or jumper settings on the adapter cards. Fortunately, this is a bit easier with plug-and-play because all the configuration is done via the Device Manager software included in the operating system. Although some early plug-and-play cards also had jumper switches or setup options to enable them to be configured manually, this feature was found primarily on ISA PnP-compatible cards. Be sure you write down or print o...

3. Hard Drive Advancements
In 1957, Cyril Northcote Parkinson published his famous compilation of essays titled Parkinson's Law, which begins with the statement, "Work expands so as to fill the time available for its completion." A corollary of Parkinson's most famous "law" can be applied to hard drives: "Data expands so as to fill the space available for its storage." This, of course, means that no matter how big a drive you get, you will find a way to fill it. I know that I have lived by that dictum since purchasing my first hard disk drive more than 2...

4. How Magnetic Fields Are Used to Store Data
All magnetic storage devices read and write data by using electromagnetism. This basic principle of physics states that as an electric current flows through a conductor (wire), a magnetic field is generated around the conductor. Note that electrons actually flow from negative to positive as shown in the figure, although we normally think of current flowing in the other direction Electromagnetism was discovered in 1819 by Danish physicist Hans Christian Oersted, when he found that a compass needle would deflect away from p...

5. Hard Disk Form Factors
The cornerstone of the PC industry has always been standardization. With disk drives, this is evident in the physical and electrical form factors that comprise modern drives. By using industry-standard form factors, you can purchase a system or chassis from one manufacturer and yet physically and electrically install a drive from a different manufacturer. Form factor standards ensure that available drives will fit in the bay, the screw holes will line up, and the standard cables and connections will plug in. Without these indus...

6. Magneto Optical Drives
One of the most neglected types of removable-drive technologies is the magneto-optical (MO) drive. Introduced commercially in 1985, magneto-optical drives are now available in capacities exceeding 9GB. Two sizes of magneto-optical media and drives are available for desktop computers: 3 1/2" and 5 1/4". The 3 1/2" drives have capacities up to 2.3GB, and the 5 1/4" drives have capacities up to 9.1GB. 12" MO drives are also available for enterprise systems. Originally, magneto-optical drives were strictly WORM (write once, r...

7. Tape Drive Backup Software
The most important decision you can make after you choose the tape standard and capacity of your backup tape drive is the backup software you will use with it. The three sources for tape backup software are Software bundled with the drive Software bundled with the operating system Software obtainable from third parties Use the following checklist to evaluate the software you plan to use with your tape backup drive: Device support. You might pref...

8. Introduction in the Microdrive Technology
If you prefer magnetic storage for digital camera or other electronic device data storage, consider the Hitachi Microdrive, originally developed by IBM and now manufactured and sold by Hitachi Global Storage Technologies. The Hitachi Microdrive has also been sold by various other companies under OEM agreements. The Microdrive is a true hard disk that spins at 3,600RPM and features a 128KB cache buffer. Since its introduction by IBM, the Microdrive in its Compact Flash Type II-compatible form factor has increased in capaci...

9. Flash Memory Devices
Flash memory has been around for several years as a main or an auxiliary storage medium for notebook computers. However, the rise of devices such as digital cameras and MP3 players and the presence of USB ports on practically all recent systems have transformed this technology from a niche product into a mainstream must-have storage technology. Flash memory is a type of nonvolatile memory that is divided into blocks rather than bytes, as with normal RAM memory modules. Flash memory, which also is used in most recent compu...

10. Comparing Disk Tape and Flash Memory Technologies
Several types of removable-media disk drives are commonly used. Traditionally, the most common varieties have used magnetic media, but some use one of two combinations of magnetic and optical storage: floptical or magneto-optical. Floptical and magneto-optical media drives encode information on disk by using different combinations of laser and magnetic technologies. Flash memory devices, which have largely replaced the floppy disk for data transfer, emulate disk drives. Some tape drives are also capable of emulating dis...