Cue sheet (computing)
A cue sheet, or cue file, is an ASCII (plain text) file that specifies how the tracks of a compact disc should be laid out. Cue sheets commonly have a ".cue" filename extension. They were originally used for the CDRWIN CD recording program, but are also used with other CD software as well as music and video playback software.
For an audio CD, the cue sheet can specify titles and performers for the disc and its tracks as well as the names of one or more audio files to be used. MP3, WAV and BIN files are often used, although some programs support other formats. Cue sheets are especially useful when burning or listening to live sets where all tracks are recorded in one file.
Cue sheets are also used for many types of CDs in conjunction with an image file. The image file generally has a ".bin" extension.
A description of cue sheets and a list of cue sheet commands can be found in the CDRWIN user's guide.
Working Definitions
- Title - the given name of a recording (e.g. Live at The Bassment)
- Performer - artist or DJ credited for recording
- Filename - the name of a specific file (e.g. liveset.mp3)
- Track - the song title
- Flags - various subcode flags per track. These flags are scarcely used on discs nowadays.
- Track Times - the starting point of a track, denoted in MM:SS:FR (minute-second-frame) format
- Example: 04:18:63 = 4 minutes, 18 seconds, 63 frames
- Note that the maximum allowed value for CDDA frames is 74.
Example/Tutorial
Scenario
Assume an MP3 named faithless - live in berlin.mp3, containing a live recording of the band Faithless's live performance in Berlin in 1998. At this concert Faithless performed eight of their own songs; the tracklisting would be as follows.
Faithless - Live in Berlin 1998 01. Faithless - Reverence 02. Faithless - She's My Baby 03. Faithless - Take The Long Way Home 04. Faithless - Insomnia 05. Faithless - Bring The Family Back 06. Faithless - Salva Mea 07. Faithless - Dirty Old Man 08. Faithless - God Is A DJ
Given the fact that the mp3 is one file containing the entire performance, burning it to a CD as-is would make it impossible to skip to individual songs.
To design the cue sheet, one must first find the points in the MP3 at which each song starts. Note that the times are cumulative, so each track must have a later time than the previous one. In addition, the first track will always start at 00:00:00.
Example Track Times 01. 00:00:00 02. 06:42:00 03. 10:54:00 04. 17:04:00 05. 25:44:00 06. 30:50:00 07. 38:24:00 08. 42:35:00
Once the times are decided, open up any plaintext text editor, such as Notepad or TextEdit, and begin typing the file. The first lines will denote the disc information, and for this example will appear as:
TITLE "Live in Berlin, 1998" PERFORMER "Faithless" FILE "faithless - live in berlin.mp3" MP3
This will be 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. TITLE and PERFORMER are optional.
TRACK 06 AUDIO TITLE "Salva Mea" PERFORMER "Faithless" INDEX 01 30:50:00
After all the tracks and track times are added into the cue sheet, the finished product should look similar to the following
TITLE "Live in Berlin, 1998" PERFORMER "Faithless" 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
Save the file with a .cue extension into the same directory as the original audio file.
Uses
- Play on Windows PC
- Winamp with
- CUE Player Plug-In (in_cue.dll). Winamp 5.3 not supported.
- mp3cue Plugin (gen_mp3cue.dll)
- 1by1 MP3 player with many features, including reading cue files.
- MPlayer can read .cue files with cue:// type URL (with bug: mplayer can't open any cuesheet not having FILE as the first line)
- Winamp with
- foobar2000 has native support for cue sheets.
- Play on CD by burning image
- cdrecord/cdrtools (free software)
- Nero Burning ROM (Select 'Burn Image to Disk')
- CDRWIN
- Exact Audio Copy
- Burrrn (freeware)
- K3b
- Play with .cue-compatible media players
- foobar2000
- By using foobar2000's Converter plugin, CUE files can be split into individual files of any format. This is handy for those with whole albums in lossless formats which come with cue sheets.
- Amarok
- FLAC can embed a whole cuesheet into metadata block of flac audio files
- Xbox Media Center
- foobar2000
External links
- Cue Sheet Databases
- Cue Sheet Heaven
- Spandel.nl Trance & Dance Cue Files
- Anuga Trance Cue Files
- Trainspotted Collaborative tracklistings - Live, Studio mixes. Offers cue files, and links to non-commercial mixes
- [MusicBrainz_Picard] can generate Cue Sheets from the [MusicBrainz] database.
- Developer Libraries
- Specification and discussion
- Cue Sheet Specification The definitive cue sheet specification.
- Cuesheet Tutorial A detailed tutorial describing what cue sheets are, and how to use them.
- Burn Cue Files and MP3 Splitter Tutorial.
- digitalx.org Complete cue sheet syntax documentation
- CDRCue cuesheet editor mastering guide Cue sheet
- [1] Some tips on writing/editing cue files with notepad compatibility comparison and partial documentation of some cue sheet commands
- Software/Utilities
- dotCUE Small and easy to use CUE-tool.
- Cue Sheet Compiler Quick & Easy Online Cue Sheet Generating Tool.
- Cueator A very popular multi-platform Cue Creator.
- CueMaster Userfriendly cuesheet editor for Windows.
- CUE Generator by Stutenandy v1.5 Online CUE Generator
- CUEgen FLAC-compatible audio CD cuesheet generator for Linux.
- MusiCutter cuts MP3 files using CUE files. For Windows only.
- mp3splt Open Source mp3 and ogg splitter
- bchunk BinChunker for Unix / Linux, converts .bin+cue to .iso/.cdr/.wav
- CueSplitter Splits MP3 files into separate files using CUE file information. Also splits FLAC and APE files (Windows only)
- CDRCue powerful GUI CUE generator/editor for Windows.
- QeD The Ultimate Liveset Cuesheet Editor. Especially useful when creating/editing cuesheets for livesets.
- MP3 Directcut MP3 Directcut (supports Cue-Sheets) .