CD-Text is an extension of the
Red Book Compact Disc
The compact disc (CD) is a Digital media, digital optical disc data storage format co-developed by Philips and Sony to store and play digital audio recordings. It employs the Compact Disc Digital Audio (CD-DA) standard and was capable of hol ...
specifications standard for audio CDs. It allows storage of additional information (e.g. album name, song name, and artist name) on a standards-compliant audio CD.
The specification for CD-Text was included in the
Multi-Media Commands Set 3 R01 (MMC-3) standard, released in September 1996 and backed by
Sony
is a Japanese multinational conglomerate (company), conglomerate headquartered at Sony City in Minato, Tokyo, Japan. The Sony Group encompasses various businesses, including Sony Corporation (electronics), Sony Semiconductor Solutions (i ...
.
It was also added to new revisions of the Red Book. The actual text is stored in a format compatible with
Interactive Text Transmission System (ITTS), defined in the IEC 61866 standard.
IEC 61866:1997 Audiovisual systems – Interactive text transmission system (ITTS)
The ITTS standard is also applied in the MiniDisc format, as well as in Digital Audio Broadcasting
Digital Audio Broadcasting (DAB) is a digital radio international standard, standard for broadcasting digital audio radio services in many countries around the world, defined, supported, marketed and promoted by the WorldDAB organisation. T ...
technology and Digital Compact Cassette.
Storage
The CD-Text information is stored in the subchannels ''R'' to ''W'' on the disc. This information is usually stored in the subchannels in the lead-in area of the disc, where there is roughly 5 kilobytes of space available. It can also be stored on the main program area of the disc (where the audio tracks are), which can store about 31 megabytes.[Unofficial CD Text FAQ](_blank)
Since the R to W channels are not used in the Red Book specification of audio CDs, they are not read by all CD players, which prevents some devices from reading CD-Text information.
Format
CD-text data is defined in a scattered manner between MMC-3 and Sony documentation. The information below uses GNU libcdio's description.
in GNU libcdio documentation. Provides references to MMC-3 and Sony standards.
On the lowest level, CD-text is stored in 18-byte "pack" units; this part is defined in MMC-3 Annex J. Each pack consists of 4 bytes of header (type indicator, track number reference, sequential counter, block number and character position indicator NCPI, 12 bytes of payload, and 2 bytes of CRC. The type indicator ranges from 0x80 to 0x8F, the 13 defined values being:[MMC-3 Draft R10G]
/ref>
The BNPCI is used to define information that does not fit in one pack. This can be text or binary data. The BNCPI also indicates whether the text is single-byte or double-byte data in the top bit. This determines how null-terminated strings are defined one or two bytes of 0x00.[ (Note: the DBCS mode is rarely, if ever, used. Its special null handling is not necessary for computer DBCS code pages, as they are "hybrid" with ASCII and compatible in the NUL behavior. UTF-16 could be the intended use.)
For block types listed above as "character" (per MMC-3), the payload is a simple null-terminated string. (MMC-3 is written confusingly here it describes the encoding as "ASCII" in the pack type table despite mentioning the BNCPI flag modifying its behavior later.) The descriptions of the binary fields are vague, but the developers of GNU libcdio has either matched them to sections of MMC-3 or written new descriptions based on Sony's sample.][
Another layer of encoding specification is found at this payload level, in the SIZE_INFO block. Here the first byte may be used to indicate the encoding, ]ASCII
ASCII ( ), an acronym for American Standard Code for Information Interchange, is a character encoding standard for representing a particular set of 95 (English language focused) printable character, printable and 33 control character, control c ...
, Latin-1, or "MS-JIS". This is supported by the original Sony authoring tools.[
]
See also
* CD+G
* CDVU+
* ID3
* Vorbis comment
References
External links
CD-Recordable FAQ, question 3-28: How do I add CD-Text information?
{{DEFAULTSORT:Cd-Text
Compact disc
Metadata