Cue sheet (computing)

Cue sheet (computing)

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

Cue sheets can describe many types of audio and data CDs. The main data (including audio) for a CD described by a cue sheet is stored in one or more files referenced by the cue sheet. The data files may be audio files (commonly in MP3 or WAV format), or plain disc images (sometimes with a ".bin" extension). Cue sheets also specify track lengths, and CD-Text including track and disc titles and performers. They are especially useful when dividing audio stored in a single file into multiple songs or tracks.

The name "cue sheet" originates from the "send cue sheet" SCSI/ATA command in optical disc authoring.[1] The specification for that command defines a cue sheet format containing mostly the same information, but in a tabular, binary data structure, rather than a text file.[2]

Contents

Audio file playback

An entire multi-track audio CD may be ripped to a single audio file and a cue sheet. However software audio players and hardware digital audio players often treat each audio file as a single playlist entry, which can make it difficult to select and identify the individual tracks. A common solution is to split the original audio file into a series of separate files, one per track.

Another approach is for the audio player to support the cue sheet directly. This may involve providing a new playlist (for example, an extra window) for the contents of the cue sheet, or adding an entry for each track directly into the main playlist.

Cue sheet syntax

A cue sheet is a plain text file containing commands with one or more parameters. The commands usually apply either to the whole disc or to an individual track, depending on the particular command and the context. They may describe the layout of data to be written, or CD-Text (metadata). The original specification of the cue sheet syntax and semantics appears in the CDRWIN User Guide.[3]

The standard commands are:[4]

Essential commands

FILE
Names a file containing the data and its format (such as MP3, and WAV audio file formats, and plain "binary" disc images)
TRACK
Defines a track context, providing its number and type or mode (for instance AUDIO or various CD-ROM modes). Some commands that follow this command apply to the track rather than the entire disc.
INDEX
Indicates an index (position) within the current FILE. The position is specified in mm:ss:ff (minute-second-frame) format. There are 75 such frames per second of audio. In the context of cue sheets, "frames" refer to CD sectors, despite a different, lower-level structure in CDs also being known as frames.[5] INDEX 01 denotes the start of the track, while INDEX 00 denotes the pregap. The pregap of Track 1 is used for Hidden Track One Audio (HTOA).
PREGAP and POSTGAP
Indicates the length of a track's pregap or postgap, which is not stored in any data file. The length is specified in the same minute-second-frame format as for INDEX.

CD-Text and other metadata commands

REM
Adds a comment that usually has no bearing on the written CD at all, with the exception of some applications that use it to store additional metadata (e.g. Exact Audio Copy writes some additional fields, which foobar2000 can read)
CDTEXTFILE
Identifies a file containing CD-Text information
FLAGS
Sets subcode flags of a track
CATALOG
Contains the UPC/EAN code of the disc
ISRC
Define the ISRC of the current TRACK
TITLE, PERFORMER and SONGWRITER
CD-Text metadata; applies to the whole disc or a specific track, depending on the context

Non-standard cue sheets

CD ripping programs normally offer the option of creating a separate file for each audio track, with the (pre)gap portion of a track placed at the end of the preceding track's file. This coincides with normal playback operation — the beginning of each file is the beginning of a track, not the gap preceding it — and with the layout described in the disc's table of contents, which doesn't specify gap information at all.

The cue sheet format, as specified in the CDRWIN Users Manual,[3] doesn't support file sets of this type; rather, it's designed with the expectation that all of the audio data exists in a single file (CDRWIN only creates cue sheets for that kind of rip) or in separate files, but only with the gap portions of the audio either removed or placed at the beginning of the files.

In order to allow cue sheets to be used to burn a CD from ordinary file sets which have the gap portion at the end of each file, the CD ripping & burning program Exact Audio Copy (EAC) allows the creation of cue sheets that relax the CDRWIN Users Manual's restriction on where FILE commands can be used.[6] This non-conforming cue sheet format, intended only for burning CDs with EAC, isn't supported by some other pieces of software, such as the media player foobar2000, which allows to use cue sheets as playlists.

Examples

The MP3 file "Faithless - Live in Berlin.mp3", contains a live recording of the band Faithless. At this concert, Faithless performed eight songs in the order shown below. Therefore, the track listing is as follows:

  1. Faithless – Reverence
  2. Faithless – She's My Baby
  3. Faithless – Take the Long Way Home
  4. Faithless – Insomnia
  5. Faithless – Bring the Family Back
  6. Faithless – Salva Mea
  7. Faithless – Dirty Old Man
  8. Faithless – God Is a DJ

Since the MP3 is one file containing the entire performance, burning it to a CD as-is would make it inconvenient to skip to individual songs. To design the cue sheet, one must first find the points in the MP3 at which each song starts. The times are cumulative: each track must have a later time than the previous one.

The first three lines denote the disc information. This is followed by the information for each track, indented from the rest. The INDEX 01 line reads the same for each track, with the exception of the time value that follows it. REM, TITLE and PERFORMER are optional.

REM GENRE "Electronica"
REM DATE "1998"
PERFORMER "Faithless"
TITLE "Live in Berlin"
FILE "Faithless - Live in Berlin.mp3" MP3
  TRACK 01 AUDIO
    TITLE "Reverence"
    PERFORMER "Faithless"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE "She's My Baby"
    PERFORMER "Faithless"
    INDEX 01 06:42:00
  TRACK 03 AUDIO
    TITLE "Take the Long Way Home"
    PERFORMER "Faithless"
    INDEX 01 10:54:00
  TRACK 04 AUDIO
    TITLE "Insomnia"
    PERFORMER "Faithless"
    INDEX 01 17:04:00
  TRACK 05 AUDIO
    TITLE "Bring the Family Back"
    PERFORMER "Faithless"
    INDEX 01 25:44:00
  TRACK 06 AUDIO
    TITLE "Salva Mea"
    PERFORMER "Faithless"
    INDEX 01 30:50:00
  TRACK 07 AUDIO
    TITLE "Dirty Old Man"
    PERFORMER "Faithless"
    INDEX 01 38:24:00
  TRACK 08 AUDIO
    TITLE "God Is a DJ"
    PERFORMER "Faithless"
    INDEX 01 42:35:00

An example of a cue sheet used in conjunction with a CD image file:

FILE "sampleimage.bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00

See also

References

  1. ^ a b "Cue sheet". Hydrogen audio knowledgebase. http://wiki.hydrogenaudio.org/index.php?title=Cue_sheet. Retrieved 2011-02-01. [unreliable source?]
  2. ^ MMC-2 § 6.1.31
  3. ^ a b "Appendix A: Cuesheet commands". CDRWIN user's guide. v3.8. Golden hawk technology. 1 November 2000. cdrwin.pdf. 
  4. ^ "Cue sheet syntax". digitalx.org. http://digitalx.org/cue-sheet/syntax/. Retrieved 2011-02-02. 
  5. ^ McFadden, Andy (2004-05-20). "2–43–3: What's a frame? CIRC encoding? How does ECC work?". CD-recordable FAQ. http://www.cdrfaq.org/faq02.html#S2-43-3. Retrieved 2011-02-02. 
  6. ^ "Post from EAC author Andre Wiethoff". September 2010. http://www.digital-inn.de/148362-post48.html. Retrieved 2010-10-03. 

External links

  • Cue Sheet section of digitalx.org web site
  • Cuesheet Tutorial A detailed tutorial describing what cue sheets are, and how to use them.

Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Cue sheet — A cue sheet is a form or template (paper or electronic) that lists information about cues. Examples include: Cue sheet (computing), a text file that details the layout of tracks on a compact disc. Cue sheet (theatrical), a list of theatrical cues …   Wikipedia

  • Comparison of video player software — This article is about video player software. For a comparison of audio player software, see Comparison of audio player software. For a comparison of hardware device type portable media players, see Comparison of portable media players. The… …   Wikipedia

  • Mp3splt — Developer(s) Mp3splt project Team Stable release 2.4 / July 14th, 2011 Operating system Cross platform Type …   Wikipedia

  • XBMC — Media Center XBMC Media Center Home Screen Developer(s) …   Wikipedia

  • Optical disc drive — A CD/DVD ROM Drive A Blu ray (BD RE DL) writer tray in a Sony Vaio E series laptop …   Wikipedia

  • bridge — bridge1 bridgeable, adj. bridgeless, adj. bridgelike, adj. /brij/, n., v., bridged, bridging, adj. n. 1. a structure spanning and providing passage over a river, chasm, road, or the like. 2. a connecting, transitional, or intermediate route or… …   Universalium

  • List of file formats — This is an incomplete list, which may never be able to satisfy particular standards for completeness. You can help by expanding it with reliably sourced entries. See also: List of file formats (alphabetical) This is a list of file formats… …   Wikipedia

  • Video game music — Part of a series on …   Wikipedia

  • List of words having different meanings in British and American English: A–L — Differences between American and British English American English …   Wikipedia

  • Calliope (music) — A calliope is a musical instrument that produces sound by sending steam through whistles, originally locomotive whistles. The calliope is also known as a steam organ or steam piano . It was often played on riverboats and in circuses, where it was …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”