<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=73.167.61.121</id>
	<title>Hydrogenaudio Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=73.167.61.121"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/73.167.61.121"/>
	<updated>2026-04-29T02:29:38Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32874</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32874"/>
		<updated>2021-07-20T18:46:13Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ give basic orienting info on just-added imgburn&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* mp3DirectCut: https://mpesch3.de/&lt;br /&gt;
* mp3splt: https://github.com/mp3splt/mp3splt&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/ - only reads .wav, .flac, .ape, .w64&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* imgburn: https://www.imgburn.com/ - (Tools menu -&amp;gt; Create CUE File)&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/ - only reads in .WAV files&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32873</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32873"/>
		<updated>2021-07-20T18:42:32Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ add imgburn; alphabetize CueTools&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* mp3DirectCut: https://mpesch3.de/&lt;br /&gt;
* mp3splt: https://github.com/mp3splt/mp3splt&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/ - only reads .wav, .flac, .ape, .w64&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* imgburn: https://www.imgburn.com/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/ - only reads in .WAV files&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32872</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32872"/>
		<updated>2021-07-20T18:39:52Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Splitting */ add mp3splt and mp3DirectCut&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* mp3DirectCut: https://mpesch3.de/&lt;br /&gt;
* mp3splt: https://github.com/mp3splt/mp3splt&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/ - only reads .wav, .flac, .ape, .w64&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/ - only reads in .WAV files&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32871</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32871"/>
		<updated>2021-07-17T16:15:30Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ note limitations of CDWave&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/ - only reads .wav, .flac, .ape, .w64&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/ - only reads in .WAV files&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32870</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32870"/>
		<updated>2021-07-17T16:05:19Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ note limitations of Wave Repair&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/ - only reads in .WAV files&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Monkey%27s_Audio&amp;diff=32869</id>
		<title>REACT:Adding Support For Monkey&#039;s Audio</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=REACT:Adding_Support_For_Monkey%27s_Audio&amp;diff=32869"/>
		<updated>2021-07-17T15:10:57Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Piping to Mac.exe */ fix broken link for shntool&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To configure [[REACT]] to use an encoder that is not supported with the original INI and CFG files you will need to make changes to both the INI and CFG file you require.&lt;br /&gt;
&lt;br /&gt;
Below you will find additional text that you will need to add to your config files to use [[Monkey&#039;s Audio]] with [[REACT]].  This is meant as an example, to demonstrate what is required to add any codec that you choose.  The naming schemes and meta data used are based on the examples in the initial INI and CFG files; you may want to change them to fit your methodology.&lt;br /&gt;
&lt;br /&gt;
==REACT.ini==&lt;br /&gt;
&lt;br /&gt;
===Settings===&lt;br /&gt;
Specify that we want to use [[Monkey&#039;s Audio]] as our image format.&lt;br /&gt;
&lt;br /&gt;
 ImageExt=ape&lt;br /&gt;
&lt;br /&gt;
===UserTrackFormats===&lt;br /&gt;
Specify that we want to encode tracks using [[Monkey&#039;s Audio]].&lt;br /&gt;
&lt;br /&gt;
 Ape=1&lt;br /&gt;
&lt;br /&gt;
===UserOutputNames===&lt;br /&gt;
Specify the directories for [[Monkey&#039;s Audio]] images and tracks.&lt;br /&gt;
&lt;br /&gt;
 ImageDir_Ape=@OutRoot@\APE-images\$cdartist$&lt;br /&gt;
 TrackDir_Ape=@OutRoot@\APE\$cdartist$\[$year$] $album$&lt;br /&gt;
&lt;br /&gt;
===UserSettings===&lt;br /&gt;
Specify any encoding options and the version used.&lt;br /&gt;
&lt;br /&gt;
 Opt_Ape=-c2000&lt;br /&gt;
 Ver_Ape=4.01&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==REACT-image.cfg==&lt;br /&gt;
&lt;br /&gt;
===REM ** Transfer RG values from Wavgain calculations, instead of recalculation.===&lt;br /&gt;
Add the text below under the comment above, with the other similar lines.&lt;br /&gt;
&lt;br /&gt;
 SET RG_Ape=-t &amp;quot;replaygain_album_gain=%album_gain% dB&amp;quot; -t &amp;quot;replaygain_album_peak=%album_peak%&amp;quot;&lt;br /&gt;
 SET RG_Ape_acdir=-t $qreplaygain_album_gain=%album_gain% dB$q -t $qreplaygain_album_peak=%album_peak%$q&lt;br /&gt;
&lt;br /&gt;
===REM ---- Image ----===&lt;br /&gt;
Add the text below under the comment above, with the other similar lines.&lt;br /&gt;
&lt;br /&gt;
As [[Monkey&#039;s Audio]] does not support inline tagging this section uses &#039;&#039;&#039;[[Monkey&#039;s Audio|mac.exe]]&#039;&#039;&#039; to encode, and then &#039;&#039;&#039;[[Tag_(tagger)|tag.exe]]&#039;&#039;&#039; to add [[APEv2]] tags to the newly-created [[Monkey&#039;s Audio]] file.  You will need to add &#039;&#039;&#039;[[Monkey&#039;s Audio|mac.exe]]&#039;&#039;&#039; and &#039;&#039;&#039;[[Tag_(tagger)|tag.exe]]&#039;&#039;&#039; to your [[REACT]] &#039;&#039;&#039;tools&#039;&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
 IF NOT @ImageExt@==ape GOTO end_ape_image&lt;br /&gt;
 	SET dest=&amp;quot;@ImageDir_Ape@&amp;quot;&lt;br /&gt;
 	IF NOT EXIST %dest% MKDIR %dest%&lt;br /&gt;
 	@tools@\mac.exe &amp;quot;@source@&amp;quot; &amp;quot;@image@&amp;quot; @Opt_Ape@&lt;br /&gt;
 	@tools@\tag.exe %RG_Ape% -t &amp;quot;%ArtistField%=@cdartist@&amp;quot; -t album=&amp;quot;@album@&amp;quot; -t totaltracks=&amp;quot;@numtracks@&amp;quot; -t year=&amp;quot;@year@&amp;quot; -t genre=&amp;quot;@genre@&amp;quot; -t comment=&amp;quot;@comment@&amp;quot; -t encodedby=&amp;quot;%USERNAME%&amp;quot; -t encodersettings=&amp;quot;Monkey&#039;s Audio @Ver_Ape@ @Opt_Ape@&amp;quot; -f cuesheet=&amp;quot;@cuesheet@&amp;quot; -f eaclog=&amp;quot;@eaclog@&amp;quot; &amp;quot;@image@&amp;quot;&lt;br /&gt;
 	MOVE /Y &amp;quot;@image@&amp;quot; %dest%&lt;br /&gt;
 	MOVE /Y &amp;quot;@cuesheet@&amp;quot; %dest%&lt;br /&gt;
 	IF %have_cover%==1 COPY /Y &amp;quot;@cover@&amp;quot; %dest%\&amp;quot;@basename@.jpg&amp;quot;&lt;br /&gt;
 :end_ape_image&lt;br /&gt;
&lt;br /&gt;
===REM ---- Tracks ---- ===&lt;br /&gt;
Add the text below under the comment above, with the other similar lines.&lt;br /&gt;
&lt;br /&gt;
This section uses [[ACDIR]] to create [[Monkey&#039;s Audio]] track files. It is complicated by the fact that [[Monkey&#039;s Audio]] does not support piping, or inline tagging.  The section uses [[ACDIR]] to first split the image [[WAV|WAVE]] into tracks [[WAV|WAVEs]], and then uses [[ACDIR]] again to execute mutiple commands for each track, these being:&lt;br /&gt;
&lt;br /&gt;
# Use [[Monkey&#039;s Audio|mac.exe]] to encode the relevant track [[WAV|WAVE]].&lt;br /&gt;
# Use [[Tag_(tagger)|tag.exe]] to add [[APEv2]] tags to the [[Monkey&#039;s Audio]] file.&lt;br /&gt;
# Delete the [[WAV|WAVE]] file.&lt;br /&gt;
&lt;br /&gt;
 IF NOT @Ape@==1 GOTO end_ape_tracks&lt;br /&gt;
 	SET dest=&amp;quot;@TrackDir_Ape@&amp;quot;&lt;br /&gt;
 	IF NOT EXIST %dest% MKDIR %dest%&lt;br /&gt;
 	PUSHD %dest%&lt;br /&gt;
 		IF @various@==1 SET VA_tag=-t $qalbum artist=@VA@$q&lt;br /&gt;
 		@tools@\acdir.exe --overwrite --output &amp;quot;%TrackName%.wav&amp;quot; --extract &amp;quot;@sourcecuesheet@&amp;quot;&lt;br /&gt;
 		@tools@\acdir.exe --exec &amp;quot;@tools@\mac.exe $q%TrackName%.wav$q $q%TrackName%.ape$q @Opt_Ape@ &amp;amp;&amp;amp; @tools@\tag.exe %RG_Ape_acdir% %VA_tag% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q@year@$q -t genre=$q@genre@$q -t comment=$q@comment@$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qMonkey&#039;s Audio @Ver_Ape@ @Opt_Ape@$q $q%TrackName%.ape$q &amp;amp;&amp;amp; DEL $q%TrackName%.wav$q&amp;quot; &amp;quot;@sourcecuesheet@&amp;quot;&lt;br /&gt;
 		COPY /Y &amp;quot;@eaclog@&amp;quot; &amp;quot;EAClog.txt&amp;quot;&lt;br /&gt;
 		IF %have_cover%==1 COPY /Y &amp;quot;@cover@&amp;quot; &amp;quot;folder.jpg&amp;quot;&lt;br /&gt;
 		IF EXIST &amp;quot;@albumfile@.[*].cue&amp;quot; COPY /Y &amp;quot;@albumfile@.[*].cue&amp;quot; .&lt;br /&gt;
 	POPD&lt;br /&gt;
 :end_ape_tracks&lt;br /&gt;
&lt;br /&gt;
====Piping to Mac.exe====&lt;br /&gt;
The offical version of mac.exe does not support piping, but the version that can be found on the [http://shnutils.freeshell.org/shntool/ shntool] website does.  If you are using this version you can save some time, by replacing the code above with the following:&lt;br /&gt;
&lt;br /&gt;
 IF NOT @Ape@==1 GOTO end_ape_tracks&lt;br /&gt;
 	SET dest=&amp;quot;@TrackDir_Ape@&amp;quot;&lt;br /&gt;
 	IF NOT EXIST %dest% MKDIR %dest%&lt;br /&gt;
 	PUSHD %dest%&lt;br /&gt;
 		IF @various@==1 SET VA_tag=-t $qalbum artist=@VA@$q&lt;br /&gt;
 		@tools@\acdir.exe --overwrite --output &amp;quot;%TrackName%.ape&amp;quot; --pipe &amp;quot;@tools@\mac.exe - $#o @Opt_Ape@ &amp;amp;&amp;amp; @tools@\tag.exe %RG_Ape_acdir% %VA_tag% -t artist=$#a -t album=$#T -t title=$#t -t track=$n/$N -t year=$q@year@$q -t genre=$q@genre@$q -t comment=$q@comment@$q -t encodedby=$q%USERNAME%$q -t encodersettings=$qMonkey&#039;s Audio @Ver_Ape@ @Opt_Ape@$q $q%TrackName%.ape$q&amp;quot; &amp;quot;@sourcecuesheet@&amp;quot;&lt;br /&gt;
 		COPY /Y &amp;quot;@eaclog@&amp;quot; &amp;quot;EAClog.txt&amp;quot;&lt;br /&gt;
 		IF %have_cover%==1 COPY /Y &amp;quot;@cover@&amp;quot; &amp;quot;folder.jpg&amp;quot;&lt;br /&gt;
 		IF EXIST &amp;quot;@albumfile@.[*].cue&amp;quot; COPY /Y &amp;quot;@albumfile@.[*].cue&amp;quot; .&lt;br /&gt;
 	POPD&lt;br /&gt;
 	TITLE &amp;quot;@album@&amp;quot;&lt;br /&gt;
 	POPD&lt;br /&gt;
 :end_ape_tracks&lt;br /&gt;
&lt;br /&gt;
This allows [[ACDIR]] to pipe the audio data to [[Monkey&#039;s Audio|mac.exe]], rather than creating temporary WAVE files.&lt;br /&gt;
&lt;br /&gt;
==REACT-track.cfg==&lt;br /&gt;
&lt;br /&gt;
===REM ============== Begin Main Script ================== ===&lt;br /&gt;
Add the text below under the comment above, with the other similar lines.&lt;br /&gt;
&lt;br /&gt;
 SET TrackDir_Ape=&amp;quot;@TrackDir_Ape@&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===REM ---- Track ---- ===&lt;br /&gt;
Add the text below under the comment above, with the other similar lines.&lt;br /&gt;
&lt;br /&gt;
As [[Monkey&#039;s Audio]] does not support inline tagging this section uses &#039;&#039;&#039;[[Monkey&#039;s Audio|mac.exe]]&#039;&#039;&#039; to encode, and then &#039;&#039;&#039;[[Tag_(tagger)|tag.exe]]&#039;&#039;&#039; to add [[APEv2]] tags to the newly-created [[Monkey&#039;s Audio]] file.  You will need to add &#039;&#039;&#039;[[Monkey&#039;s Audio|mac.exe]]&#039;&#039;&#039; and &#039;&#039;&#039;[[Tag_(tagger)|tag.exe]]&#039;&#039;&#039; to your [[REACT]] &#039;&#039;&#039;tools&#039;&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
 IF NOT @Ape@==1 GOTO end_ape_tracks&lt;br /&gt;
 	IF NOT EXIST %TrackDir_Ape% MKDIR %TrackDir_Ape%&lt;br /&gt;
 	PUSHD %TrackDir_Ape%&lt;br /&gt;
 		IF @various@==1 SET VA_tag=-t &amp;quot;album artist=@VA@&amp;quot;&lt;br /&gt;
 		ECHO ON&lt;br /&gt;
 		@tools@\mac.exe &amp;quot;@source@&amp;quot; &amp;quot;%TrackName%.ape&amp;quot; @Opt_Ape@&lt;br /&gt;
 		@tools@\tag.exe %VA_tag% -t artist=&amp;quot;@artist@&amp;quot; -t album=&amp;quot;@album@&amp;quot; -t track=&amp;quot;@track@/@numtracks@&amp;quot; -t title=&amp;quot;@title@&amp;quot; -t year=&amp;quot;@year@&amp;quot; -t genre=&amp;quot;@genre@&amp;quot; -t comment=&amp;quot;@comment@&amp;quot; -t encodedby=&amp;quot;%USERNAME%&amp;quot; -t encodersettings=&amp;quot;Monkey&#039;s Audio @Ver_Ape@ @Opt_Ape@&amp;quot; &amp;quot;%TrackName%.ape&amp;quot;&lt;br /&gt;
 		@ECHO OFF&lt;br /&gt;
 		IF %have_cover%==1 IF NOT EXIST folder.jpg COPY &amp;quot;@cover@&amp;quot; folder.jpg&lt;br /&gt;
 		TITLE @track@/@numtracks@ - &amp;quot;@album@&amp;quot;&lt;br /&gt;
 	POPD&lt;br /&gt;
 :end_ape_tracks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Related Thread==&lt;br /&gt;
This tip is a result of a the discussion in the thread [http://www.hydrogenaudio.org/forums/index.php?showtopic=62321 Using REACT 2.0 - I need help.......].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Monkey&#039;s Audio]]&lt;br /&gt;
* [[Tag_(tagger)|Case&#039;s Tag]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
* [http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html ACDIR]&lt;br /&gt;
&lt;br /&gt;
[[Category:REACT Guides|Adding Support For Monkey&#039;s Audio]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=TAK&amp;diff=32868</id>
		<title>TAK</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=TAK&amp;diff=32868"/>
		<updated>2021-07-17T15:10:21Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Windows */ fix broken link for shntool&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Codec Infobox&lt;br /&gt;
| name = Tom&#039;s lossless Audio Kompressor&lt;br /&gt;
| logo =&lt;br /&gt;
| type = lossless&lt;br /&gt;
| purpose = (T)om&#039;s verlustfreier (A)udio(k)ompressor&lt;br /&gt;
| maintainer = Thomas Becker&lt;br /&gt;
| recommended_encoder = TAK encoder&lt;br /&gt;
| recommended_text = TAK v2.3.0 (2013-06-18)&lt;br /&gt;
| website = [http://thbeck.de/Tak/Tak.html ThBeck.de/Tak/Tak.html] &#039;&#039;(German)&#039;&#039;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&#039;&#039;&#039;Tom&#039;s lossless Audio Kompressor&#039;&#039;&#039; (&#039;&#039;&#039;TAK&#039;&#039;&#039;) is a lossless audio compressor which promises compression performance similar to [[Monkey&#039;s Audio]] “High” and decompression speed similar to [[Free Lossless Audio Codec|FLAC]].&lt;br /&gt;
&lt;br /&gt;
=== Features ===&lt;br /&gt;
* High compression&lt;br /&gt;
* Fast compression and decompression speed&lt;br /&gt;
* Streaming support (necessary headers for decompressing the audio are written to the stream every 2 seconds)&lt;br /&gt;
* Piping support for encoding&lt;br /&gt;
* Error tolerance (single bit error will never affect more than 250 ms)&lt;br /&gt;
* Error detection (each frame protected by a 24-bit checksum (CRC))&lt;br /&gt;
* High-resolution (up to 24-bit/channel) audio support&lt;br /&gt;
* Support for up to 192 Khz Audio&lt;br /&gt;
* Seeking without seek table&lt;br /&gt;
* APEv2 tags supported at end of file&lt;br /&gt;
&lt;br /&gt;
=== Pros ===&lt;br /&gt;
* Fast encoding speed (while providing better compression TAK encodes as fast as [[Free Lossless Audio Codec|FLAC]] -8 in TAK&#039;s “Insane” and several times faster in “Turbo” mode)&lt;br /&gt;
* Fast decompression speed (on par with FLAC / [[WavPack]])&lt;br /&gt;
* Good compression levels (on par with [[Monkey&#039;s Audio]] High)&lt;br /&gt;
* Error Robustness&lt;br /&gt;
* Fast Seeking&lt;br /&gt;
&lt;br /&gt;
=== Cons ===&lt;br /&gt;
* Closed Source&lt;br /&gt;
* No hardware support&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Software support ==&lt;br /&gt;
=== Windows ===&lt;br /&gt;
* [http://thbeck.de/Download/TAK_2.3.0.zip TAK 2.3.0] - Official release which consists of a CLI, a GUI, a [[Winamp]] plugin, the SDK, and the decoding library.&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_input_tak TAK Decoder 0.4.8] - Plugin for [[foobar2000]] (supports tagging and [[ReplayGain]]).&lt;br /&gt;
* [http://www.liviocavallo.altervista.org/ dsfTAKSource 0.0.1.6] - DirectShow source filter which uses the official decoding library to play TAK-files in Windows Media Player, Media Player Classic - Home Cinema, Zoom Player and alike.&lt;br /&gt;
* [http://rwijnsma.home.xs4all.nl/dc-bsm/index.htm DC-Bass Source Mod] - DirectShow source filter which uses the official decoding library to play TAK-files, amongst many others, in any DirectShow media player (as mentioned above).&lt;br /&gt;
* [http://code.google.com/p/lavfilters/ LAV Filters] - Set of open-source DirectShow filters which uses [https://ffmpeg.org/pipermail/ffmpeg-devel/2012-September/131785.html FFMpeg&#039;s reverse-engineered decoder] to play TAK-files in any DirectShow media player.&lt;br /&gt;
* [http://www.videolan.org/vlc VLC Media Player] - Can: transcode from/play (no encoding); since at least version 2.2.0&lt;br /&gt;
* [http://sourceforge.net/projects/mpcbe/ Media Player Classic - BE] - DirectShow media player with an internal TAK source filter which uses FFMpeg&#039;s reverse-engineered decoder to play TAK-files. The internal TAK source filter also supports embedded cue-sheets.&lt;br /&gt;
* [[Mp3tag]] – universal tag editor with support for TAK&lt;br /&gt;
* [http://shnutils.freeshell.org/shntool/ shntool] (since version 3.0.6)&lt;br /&gt;
* [http://picard.musicbrainz.org/ MusicBrainz Picard] (since version 0.11)&lt;br /&gt;
&lt;br /&gt;
=== Linux ===&lt;br /&gt;
* ffmpeg can demux, decode and parse TAK since commit d7a473926504e2acfa6ae3bead0938e1f4e03441:[http://git.videolan.org/?p=ffmpeg.git;a=commit;h=d7a473926504e2acfa6ae3bead0938e1f4e03441]. First official release that supports TAK decoding is 1.1.&lt;br /&gt;
* The GUI program (Tak.exe) and the command-line program (Takc.exe) work with [http://www.winehq.org/ Wine].&lt;br /&gt;
* &amp;lt;s&amp;gt;[http://caudec.net/ caudec]&amp;lt;/s&amp;gt; is a command-line tool that can encode and decode TAK files, using the official binary (Takc.exe) with Wine (see: &amp;lt;s&amp;gt;[http://caudec.net/documentation/windowscodecs/ installation instructions]&amp;lt;/s&amp;gt;). Caudec can also test file integrity and compute (and tag) Replaygain data. While it hasn&#039;t been tested at the time of writing, it is possible that TAK support in caudec works on OS X as well.&lt;br /&gt;
* [http://picard.musicbrainz.org/ MusicBrainz Picard] (since version 0.11)&lt;br /&gt;
&lt;br /&gt;
== Hardware support ==&lt;br /&gt;
* None&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Recommended Settings ==&lt;br /&gt;
* Default compression: “-p2” (formerly &#039;&#039;Normal&#039;&#039;) is the most attractive setting, providing an excellent compromise between compression and encoding speed. (At compression levels close to [[Monkey&#039;s Audio]] High (&amp;lt;0.4% difference), it is able to encode more quickly.)&lt;br /&gt;
 takc -e [input file]&lt;br /&gt;
* Highest compression: “-pMax” (same as -p4m) (This will create files which are comparable in size to file created using [[Monkey&#039;s Audio]] High. Decompression speed is comparable to [[WavPack]] Normal.)&lt;br /&gt;
 takc -e -pMax [input file]&lt;br /&gt;
* Fastest compression: “-p0” (This will create files which are comparable in size to [[Monkey&#039;s Audio]] Fast or [[WavPack]] High. Decompression speed is comparable to [[Free Lossless Audio Codec|FLAC]] 0.)&lt;br /&gt;
 takc -e -p0 [input file]&lt;br /&gt;
&lt;br /&gt;
=== TAK Performance Graph ===&lt;br /&gt;
[[Image:TAK_performance_graph_1-0-4.png|frame|center|Graph showing encoding and decoding rate against compression, using data from Synthetic Soul&#039;s test on TAK 1.0.4&amp;lt;br /&amp;gt;(see [[TAK#External Links|External Links]])]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Using TAK ==&lt;br /&gt;
=== TAK with [[foobar2000]] ===&lt;br /&gt;
* Copy the takc.exe to your [[foobar2000]] directory&lt;br /&gt;
* Go to File → Preferences → Tools → Converter&lt;br /&gt;
* Set it up as shown:&lt;br /&gt;
[[Image:Tak_foobar_converter.png|frame|center|Screenshot of foobar 0.9.5 Converter settings for TAK 1.0.3]]&lt;br /&gt;
&#039;&#039;&#039;Note:&#039;&#039;&#039; replace -p2 with the desired compression level.&lt;br /&gt;
&lt;br /&gt;
* TAK introduced encoding from STDIN in version 1.0.3, eliminating the need for a temporary file and greatly improving overall compression time. If you are using an earlier version of TAK use the following command line instead:&lt;br /&gt;
 -e -p2 %s %d&lt;br /&gt;
* Use [[APEv2 specification|APEv2]] tagging (will be used as internal tagging)&lt;br /&gt;
&lt;br /&gt;
=== TAK with EAC ===&lt;br /&gt;
Please read the [[EAC and TAK|wiki guide]], which details how to create TAK files with [[Exact Audio Copy|EAC]].&lt;br /&gt;
&lt;br /&gt;
=== Converting TAK using pipe ===&lt;br /&gt;
 Takc.exe -d input.tak - | lame.exe -V 6 - output.mp3&lt;br /&gt;
 Takc.exe -d input.tak - | opusenc.exe --bitrate 64 - output.opus&lt;br /&gt;
 Takc.exe -d input.tak - | flac.exe -8 - -o output.flac&lt;br /&gt;
 Takc.exe -d input.tak - | wavpack.exe -hhx - output.wv&lt;br /&gt;
&lt;br /&gt;
 flac.exe -dc input.flac | Takc.exe -e -pMax - output.tak&lt;br /&gt;
 wvunpack.exe input.wv - | Takc.exe -e -pMax - output.tak&lt;br /&gt;
 ffmpeg.exe -i input.xxx -f wav - | Takc.exe -e -pMax &#039;&#039;&#039;-ihs&#039;&#039;&#039; - output.tak&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Future Features ==&lt;br /&gt;
* Unicode support&lt;br /&gt;
* MD5 audio checksums for verification and identification&lt;br /&gt;
* A German version&lt;br /&gt;
* Embedded cue sheets&lt;br /&gt;
* Embedded cover art&lt;br /&gt;
* Multichannel audio&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Frequently Asked Questions ==&lt;br /&gt;
; Is the codec safe for use/definitely lossless?&lt;br /&gt;
: Yes, TAK is verified as being lossless, as determined through rigorous testing by the author and satisfied users. To check, convert a WAV to TAK and back and compare the two, for instance using [[Foobar2000:Foobar2000|foobar2000]]&#039;s [[Foobar2000:Components/Binary Comparator (foo_bitcompare)|Binary Comparator]].&lt;br /&gt;
; Why should I use TAK?&lt;br /&gt;
: TAK offers high ratios of compression but also great decoding speeds.&lt;br /&gt;
; What can I compress with TAK?&lt;br /&gt;
: TAK 1.0 can compress any integer-format (up to 24 bits per channel) PCM RIFF WAVE file (.WAV). Piping support is implemented as of v1.0.3, so converting lossless files to WAV first is not necessary: users can simply pipe the decompressed output from their decoder of choice directly into TAK&#039;s encoder.&lt;br /&gt;
; What about hardware support?&lt;br /&gt;
: There is none at the moment. However, &#039;&#039;-p0&#039;&#039;, &#039;&#039;-p1&#039;&#039; and &#039;&#039;-p2&#039;&#039; are the candidates for most suitable settings for hardware.&lt;br /&gt;
; Will the source be opened?&lt;br /&gt;
: The official encoder and decoder are currently closed-source. Thomas has expressed an intention to open the source of the decoder at some point in time, stipulating preconditions of its first being further refined, ported to C or C++, and documented. This may or may not lead to releases of other code. However, as of June of 2013, he feels that “a lot of (not very exciting) work is required” until the decoding source would be ready to be published, and that may or may not happen in the foreseeable future. Such questions generally generate more noise than fruitful discussion, so it is best to wait and see what happens. In any case, there is an independently implemented open source decoder available, bundled with ffmpeg.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== External Links ==&lt;br /&gt;
* [http://thbeck.de/Tak/Tak.html thbeck.de/Tak/Tak.html] – Official Website &#039;&#039;(german)&#039;&#039;&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=101386 TAK 2.3.0 Discussion Thread on HA] &#039;&#039;(english)&#039;&#039;&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=89610 TAK 2.2.0 Discussion Thread on HA] &#039;&#039;(english)&#039;&#039;&lt;br /&gt;
* &amp;lt;s&amp;gt;[http://synthetic-soul.co.uk/comparison/lossless/ synthetic-soul.co.uk/comparison/lossless] – Comparison with Other Codecs (by Synthetic Soul) &amp;lt;/s&amp;gt;&lt;br /&gt;
* [http://flac.sourceforge.net/comparison.html flac.sourceforge.net/comparison.html] – An Updated Comparison (from FLAC Homepage)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Lossless]]&lt;br /&gt;
[[Category:Encoder/Decoder]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32867</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32867"/>
		<updated>2021-07-17T15:08:14Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Useful applications */ fix broken links for shntool&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://shnutils.freeshell.org/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32866</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32866"/>
		<updated>2021-07-17T15:01:38Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ fix last edit - CUEgenerator is the online web app; Wave Repair was a broken link (fixed now)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* Wave Repair: https://www.delback.co.uk/wavrep/&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/ (online web app)&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32865</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32865"/>
		<updated>2021-07-17T14:52:48Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Creating */ add note that Wave Repair is an online tool&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* Wave Repair: http://www.waverepair.com/ (online web app)&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32864</id>
		<title>Cue sheet</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Cue_sheet&amp;diff=32864"/>
		<updated>2021-07-17T14:44:17Z</updated>

		<summary type="html">&lt;p&gt;73.167.61.121: /* Splitting */ add potential alternate source for CueProc&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!--&lt;br /&gt;
TODO:&lt;br /&gt;
&lt;br /&gt;
Mention of HTOA with link to new page...although there is already an HTOA example.&lt;br /&gt;
Example of the first few lines, showing INDEX 00&lt;br /&gt;
&lt;br /&gt;
PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
TITLE &amp;quot;&#039;64 - &#039;95&amp;quot;&lt;br /&gt;
FILE &amp;quot;CDImage.ape&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Intro&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 01:23:18&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;&#039;88 AKA Come Down On Me&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Lemon Jelly&amp;quot;&lt;br /&gt;
   INDEX 01 01:47:53&lt;br /&gt;
&lt;br /&gt;
Examination of a segment or segments of a cue sheet, focusing on the key commands&lt;br /&gt;
&lt;br /&gt;
Embedding cue sheets - may require its own page&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;cue sheet&#039;&#039;&#039; (or &#039;&#039;&#039;CUE file&#039;&#039;&#039;, &#039;&#039;&#039;.cue&#039;&#039;&#039;, &#039;&#039;&#039;CUE sheet&#039;&#039;&#039;, etc.) is a formatted text file which provides index and other supplemental information for one or more audio files. A cue sheet is generally used in conjunction with either extracting from or burning to [[Compact Disc|CD]]. For example, when a CD&#039;s complete audio content has been ripped to a single file, a cue sheet contains information about the track boundaries, and CD-R burning software can use it to make a copy of the original CD with the same track layout as the original. Cue sheets can also be used when writing data CDs.&lt;br /&gt;
&lt;br /&gt;
Increasingly, cue sheets are being used as playlists: you load the cue sheet in a media player, and it can play an &amp;quot;image&amp;quot; (single-file) rip as if it were separate files, one for each track. Cue sheets can be used for file-per-track rips as well, but many such rips require that the cue sheet not adhere strictly to the original specification&#039;s rules.&lt;br /&gt;
&lt;br /&gt;
==Cue sheet contents==&lt;br /&gt;
All cue sheets contain the following info:&lt;br /&gt;
* The name &amp;amp; type of at least one file being indexed (an audio file, normally);&lt;br /&gt;
* A numbered list of tracks each file corresponds to or contains;&lt;br /&gt;
* The start point (index 01) for each track, time-wise (MM:SS:FF format).&lt;br /&gt;
&lt;br /&gt;
Cue sheets may contain the following additional info:&lt;br /&gt;
* CD-Text [[metadata]] such as performer, title, songwriter for the disc and/or each track;&lt;br /&gt;
* ISRCs (sound recording IDs to burn)&lt;br /&gt;
* Special flags for CD burning (e.g. for pre-emphasis)&lt;br /&gt;
* Gap info (how much silence to insert before or after each track)&lt;br /&gt;
* Comments (which are used by some programs to store nonstandard metadata like genre, freeDB disc ID, etc.)&lt;br /&gt;
&lt;br /&gt;
A cue sheet isn&#039;t necessary to make an exact copy of the audio portion of a CD; ripping &amp;amp; burning software will get you the audio wave data and can figure out where each track starts. However, a cue sheet &#039;&#039;can&#039;&#039; be used to specify the location of the first track (if it deviates from the standard), as well as certain subcode information, such as non-01 index points, CD-TEXT (which may not exist on the original CD), UPC/ISRC data, and [[pre-emphasis]] information.&lt;br /&gt;
&lt;br /&gt;
A cue sheet &#039;&#039;is&#039;&#039; required to burn &amp;quot;hidden track one audio&amp;quot; ([[HTOA]]), which is audio that can only be played after scanning backwards from the beginning of track 1. A cue sheet may be needed when silent frames have been omitted from the beginning or end of files to be burned; the cue sheet can be used to reconstruct the pauses by telling the burner or player where to insert silence. A cue sheet may also be needed when there is a mix of audio and data tracks to be burned (unless the burning software is told which tracks are which).&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
The cue sheet format was invented by Jeff Arnold of [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ GoldenHawk Technology] for use with his [[DAO]] (&#039;&#039;&#039;D&#039;&#039;&#039;isc &#039;&#039;&#039;A&#039;&#039;&#039;t &#039;&#039;&#039;O&#039;&#039;&#039;nce) and [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ CDRWIN] applications. The format has since been adopted as the &#039;&#039;de facto&#039;&#039; standard, and is used by various other applications, including the audio player [[foobar2000]]. The official cue sheet specification is widely accepted to be Appendix A of the CDRWIN User&#039;s Guide.&lt;br /&gt;
&lt;br /&gt;
The name is taken from the &#039;&#039;&#039;SEND CUE SHEET&#039;&#039;&#039; command (as defined in the &#039;&#039;SCSI-3 Multimedia Commands&#039;&#039; specification), used for sending a binary-format cue sheet describing the disc layout to the drive before writing starts in SAO (Session-At-Once) write mode. The drive writes to the disc, using the cue sheet information to generate the P and Q subchannel data, and to retrieve the format and block size of the data transferred with the &#039;&#039;&#039;WRITE&#039;&#039;&#039; command.&amp;lt;ref&amp;gt;Text adapted from [http://www.hydrogenaudio.org/forums/index.php?s=&amp;amp;showtopic=42485&amp;amp;view=findpost&amp;amp;p=374579 a post by Martin H].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The DAO and CDRWIN software was developed for use on MS-DOS and early Windows systems, when it was common to refer to types of files by their file name extensions, in all-caps: TXT for text, DOC for Word document, and so on. Early references to cue sheets likewise referred to &#039;&#039;CUE files&#039;&#039;. This convention continues to the present day, but the &#039;&#039;cue&#039;&#039; in the term &#039;&#039;cue sheet&#039;&#039; is not an acronym and need not be capitalized.&lt;br /&gt;
&lt;br /&gt;
== Cue sheet commands ==&lt;br /&gt;
The following commands are detailed in the Appendix A of the [http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN User&#039;s Guide]:&lt;br /&gt;
* CATALOG – A 13-digit UPC/EAN code, also referred to as the Media Catolog Number (MCN). 12-digit UPC codes should be prefixed with a &amp;quot;0&amp;quot;.&lt;br /&gt;
* CDTEXTFILE – A path to a file containing CD-Text info.&lt;br /&gt;
* FILE – A path to a file containing audio data, and to which subsequent commands apply.&lt;br /&gt;
* FLAGS – Per-track subcode flag(s):&lt;br /&gt;
** DCP - Digital copy permitted.&lt;br /&gt;
** 4CH - Four channel audio.&lt;br /&gt;
** PRE - Pre-emphasis enabled (audio tracks only).&lt;br /&gt;
** SCMS - Serial Copy Management System (not supported by all recorders).&lt;br /&gt;
* INDEX – Per-track index(es).&lt;br /&gt;
* ISRC – Per-track ISRC(s).&lt;br /&gt;
* PERFORMER – Per-disc or per-track performer name for CD-Text data.&lt;br /&gt;
* POSTGAP – Amount of post-track silence to add.&lt;br /&gt;
* PREGAP – Amount of pre-track silence to add.&lt;br /&gt;
* REM – A remark/comment to be ignored.&lt;br /&gt;
* SONGWRITER – Per-disc or per-track songwriter name for CD-Text data.&lt;br /&gt;
* TITLE – Per-disc or per-track title for CD-Text data.&lt;br /&gt;
* TRACK – Type of track to create, and to which subsequent commands apply.&lt;br /&gt;
&lt;br /&gt;
=== Most often used ===&lt;br /&gt;
;FILE&lt;br /&gt;
:The FILE command specifies the file that the cue sheet is currently referencing. Valid file types are WAVE, MP3, AIFF, BINARY and MOTOROLA. Other formats, such as the lossless formats [[WavPack]] or [[FLAC]], can also be used under the WAVE file type.&lt;br /&gt;
;INDEX&lt;br /&gt;
:A number between 00 and 99. Index points are specified in MM:SS:FF format, and are relative to the start of the file currently referenced. MM is the number of minutes, SS the number of seconds, and FF the number of frames (there are seventy five frames to one second). INDEX 01 commands specify the beginning of a new track. INDEX 00 commands specify the pre-gap of a track; you may notice your [[Compact Disc Digital Audio|Audio CD]] player count up from a negative value before beginning a new track - this is the period between INDEX 00 and INDEX 01.&lt;br /&gt;
;PERFORMER&lt;br /&gt;
:At top-level this will specify the CD artist, while at track-level it specifies the track artist.&lt;br /&gt;
;PREGAP&lt;br /&gt;
:Used to specify the length of a track pre-gap, in MM:SS:FF format. Although the SCSI specs reserve the term &#039;&#039;pre-gap&#039;&#039; for the pause before a data track, in a cue sheet the PREGAP command can be used to create a pause before any kind of track, data or audio.&lt;br /&gt;
;REM&lt;br /&gt;
:Used to record comments in a cue sheet. This command is often used to store additional meta data to TITLE and PERFORMER, e.g.: the date or genre of the disc.&lt;br /&gt;
:The following REM comments can be written to a disc&#039;s CD-Text section and read by an application such as [[cdrdao]] or ImgBurn:&lt;br /&gt;
:* REM UPC&lt;br /&gt;
:: The &amp;quot;UPC&amp;quot; is not necessarily the same as &amp;quot;CATALOG&amp;quot;.&lt;br /&gt;
:* REM DISCID&lt;br /&gt;
;TITLE&lt;br /&gt;
:At top-level this will specify the album name, while at track-level it specifies the track name.&lt;br /&gt;
;TRACK&lt;br /&gt;
:A number between 01 and 99, indicating the track number.&lt;br /&gt;
&lt;br /&gt;
=== Whitespace ===&lt;br /&gt;
Line breaks must be used between commands. Spaces or tabs can be used to indent; they&#039;re ignored but can make the file easier to understand when viewing or manually editing. Customarily, for audio CDs, all the commands which apply to a particular file are indented under the FILE command, and those which apply to a specific track are further indented under the TRACK command.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&#039;&#039;&#039;A standard single file cue sheet&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Alternative&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID 860B640B&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Loveless&amp;quot;&lt;br /&gt;
FILE &amp;quot;My Bloody Valentine - Loveless.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Only Shallow&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Loomer&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;My Bloody Valentine&amp;quot;&lt;br /&gt;
    INDEX 01 04:17:52&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The cue sheet above, created by [[EAC]], shows the first two tracks of a standard single file cue sheet. Note the use of REM commands to record additional [[metadata]], in the format &#039;&#039;&#039;REM &amp;lt;TAG&amp;gt; &amp;quot;&amp;lt;value&amp;gt;&amp;quot;&#039;&#039;&#039;. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at the top of the cue sheet detail the [[Compact Disc Digital Audio|CD]] artist and album name respectively. The &#039;&#039;&#039;PERFORMER&#039;&#039;&#039; and &#039;&#039;&#039;TITLE&#039;&#039;&#039; commands at track-level specify the track artist and title.&lt;br /&gt;
&lt;br /&gt;
TRACK 02&#039;s INDEX 01 entry does not state that the track is 4m 17.693s long, but that the beginning of the track is 4m 17.693s into the file (so TRACK 01 was in fact 4m 17.693s long). If TRACK 02 was 3m long exactly, TRACK 03&#039;s INDEX 01 value would be 07:17:52.&lt;br /&gt;
&lt;br /&gt;
Also note the file reference specifying a relative path to the file (references can also be absolute) and the file type: [[WAV|WAVE]].&lt;br /&gt;
&lt;br /&gt;
==== A single-file cue sheet with a TRACK 01 INDEX 00 hidden track ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Silent Alarm&amp;quot;&lt;br /&gt;
FILE &amp;quot;Bloc Party - Silent Alarm.flac&amp;quot; WAVE&lt;br /&gt;
 TRACK 01 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Like Eating Glass&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 00:00:00&lt;br /&gt;
   INDEX 01 03:22:70&lt;br /&gt;
 TRACK 02 AUDIO&lt;br /&gt;
   TITLE &amp;quot;Helicopter&amp;quot;&lt;br /&gt;
   PERFORMER &amp;quot;Bloc Party&amp;quot;&lt;br /&gt;
   INDEX 00 07:42:69&lt;br /&gt;
   INDEX 01 07:44:69&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;!--clarify that this is HTOA--&amp;gt;&lt;br /&gt;
The cue sheet above shows the first two tracks of a single file cue sheet for a disc with a hidden track at the start. Note that TRACK 01 INDEX 01 starts at 03:22:70 (3m 22.933s) instead of 00:00:00 as in the first example, and most cue sheets. The INDEX 00 index on TRACK 02 displays the more usual behaviour, being two seconds before INDEX 01.&lt;br /&gt;
&lt;br /&gt;
As the INDEX 00 is on TRACK 01 you will not normally see the usual countdown from a negative value that you might see from an INDEX 00 command on a subsequent track. To listen to this track on a [[Compact Disc Digital Audio|Audio CD]] player you will need to start the disc playing and press rewind, to rewind, essentially, from 3m 22s into the disc back to the true beginning.&lt;br /&gt;
&lt;br /&gt;
Also note that the file referenced is [[FLAC]], but the [[WAV|WAVE]] files type is used. For [[MP3]] files the file type &amp;quot;&#039;&#039;&#039;[[MP3]]&#039;&#039;&#039;&amp;quot; should be used, for [[AIFF]] you should use &amp;quot;&#039;&#039;&#039;[[AIFF]]&#039;&#039;&#039;&amp;quot;, but for all other types &amp;quot;&#039;&#039;&#039;[[WAV|WAVE]]&#039;&#039;&#039;&amp;quot; is used.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with corrected gaps ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 00:00:00&lt;br /&gt;
    INDEX 01 00:00:28&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has gaps prepended to the next track. This method allows users to retain gaps, but by prepending the gap to the next track each track may begin with silence, which makes playback less satisfactory. This is a very uncommon way to rip CDs, even though it is more in line with the disc&#039;s actual track layout.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps left out ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    PREGAP 00:00:28&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple file cue sheet, created by [[EAC]], has removed the gaps, but artificially recreates silence between tracks using the PREGAP command. This is fine if the gap was silence, but unsatisfactory if it contained audio.&lt;br /&gt;
&lt;br /&gt;
==== Multiple files with gaps (Noncompliant) ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 01 - Gangsters.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
FILE &amp;quot;The Specials - Singles - 02 - Rudi, A Message To You.wav&amp;quot; WAVE&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This multiple-file cue sheet, created by [[EAC]], has gaps appended to the previous track, and is a favourite among users who rip to track files but wish to retain gap information. This format allows the user to retain gaps, but in a position in the track file that does not hinder playback. Unfortunately, this format is non-compliant; this type of rip, despite its popularity, was not supported by the original DAO and CDRWIN software for which cue sheets were designed. Applications that adhere to the cue sheet specification, like [[foobar2000]], will not be able to read it. Of course, [[EAC]] will read these cue sheets, as will the [[Compact Disc|CD]] burning application [[Burrrn]].&lt;br /&gt;
&lt;br /&gt;
Note that INDEX 00 of TRACK 02 is set while still referencing the first FILE.&lt;br /&gt;
&lt;br /&gt;
==== Single file version of the cue sheet used above ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
For reference, the cue sheet used in the examples above is in single file format.&lt;br /&gt;
&lt;br /&gt;
== Example cue sheet ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
REM GENRE Ska&lt;br /&gt;
REM DATE 1991&lt;br /&gt;
REM DISCID D00DA810&lt;br /&gt;
REM COMMENT &amp;quot;ExactAudioCopy v0.95b4&amp;quot;&lt;br /&gt;
PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
TITLE &amp;quot;Singles&amp;quot;&lt;br /&gt;
FILE &amp;quot;The Specials - Singles.wav&amp;quot; WAVE&lt;br /&gt;
  TRACK 01 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Gangsters&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 01 00:00:00&lt;br /&gt;
  TRACK 02 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rudi, A Message To You&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 02:47:74&lt;br /&gt;
    INDEX 01 02:48:27&lt;br /&gt;
  TRACK 03 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nite Klub&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 05:41:50&lt;br /&gt;
    INDEX 01 05:42:27&lt;br /&gt;
  TRACK 04 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Too Much Too Young&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 08:53:47&lt;br /&gt;
    INDEX 01 08:54:37&lt;br /&gt;
  TRACK 05 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Guns Of Navarone&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 10:59:20&lt;br /&gt;
    INDEX 01 11:00:17&lt;br /&gt;
  TRACK 06 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Rat Race&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 13:20:55&lt;br /&gt;
    INDEX 01 13:20:67&lt;br /&gt;
  TRACK 07 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Stereotype&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 16:29:67&lt;br /&gt;
    INDEX 01 16:30:30&lt;br /&gt;
  TRACK 08 AUDIO&lt;br /&gt;
    TITLE &amp;quot;International Jet Set&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 20:19:27&lt;br /&gt;
    INDEX 01 20:20:20&lt;br /&gt;
  TRACK 09 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Do Nothing&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 24:30:70&lt;br /&gt;
    INDEX 01 24:32:27&lt;br /&gt;
  TRACK 10 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Ghost Town&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 28:23:30&lt;br /&gt;
    INDEX 01 28:23:42&lt;br /&gt;
  TRACK 11 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Why?&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 34:21:37&lt;br /&gt;
    INDEX 01 34:21:47&lt;br /&gt;
  TRACK 12 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Friday Night, Saturday Morning&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 38:16:50&lt;br /&gt;
    INDEX 01 38:16:55&lt;br /&gt;
  TRACK 13 AUDIO&lt;br /&gt;
    TITLE &amp;quot;War Crimes&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 41:50:07&lt;br /&gt;
    INDEX 01 41:51:00&lt;br /&gt;
  TRACK 14 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Racist Friend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 45:50:55&lt;br /&gt;
    INDEX 01 45:51:72&lt;br /&gt;
  TRACK 15 AUDIO&lt;br /&gt;
    TITLE &amp;quot;Nelson Mandela&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 49:35:55&lt;br /&gt;
    INDEX 01 49:38:22&lt;br /&gt;
  TRACK 16 AUDIO&lt;br /&gt;
    TITLE &amp;quot;(What I Like Most About You Is Your) Girlfriend&amp;quot;&lt;br /&gt;
    PERFORMER &amp;quot;The Specials&amp;quot;&lt;br /&gt;
    INDEX 00 54:11:00&lt;br /&gt;
    INDEX 01 54:12:40&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Useful applications ==&lt;br /&gt;
=== Playing ===&lt;br /&gt;
* [[foobar2000]]&lt;br /&gt;
&lt;br /&gt;
=== Splitting ===&lt;br /&gt;
* [[ACDIR]]: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_2.html&lt;br /&gt;
* CUE Splitter: http://www.enfis.it/downloads.php?cat_id=1&lt;br /&gt;
* CueProc: http://nyaochi.sakura.ne.jp/xoops/modules/mysoftwares/tc_6.html (that domain appears to be lost, but https://github.com/rinrinne/cueproc-alternative looks like a derivative)&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* pcutmp3: http://www.hydrogenaudio.org/forums/index.php?showtopic=35654&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* WavSplit: http://tangerine.uw.hu/prog/&lt;br /&gt;
&lt;br /&gt;
=== Joining ===&lt;br /&gt;
* CueMake: http://www.synthetic-soul.co.uk/files/cuemake/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* [[XRECODE]]: https://xrecode.com/&lt;br /&gt;
&lt;br /&gt;
=== Creating ===&lt;br /&gt;
* CD Wave: http://www.milosoftware.com/cdwave/&lt;br /&gt;
* CueMaster: http://cuemaster.org/&lt;br /&gt;
* [[CueTools]]: http://www.hydrogenaudio.org/forums/index.php?showtopic=41476&lt;br /&gt;
* [[foobar2000]]: http://www.foobar2000.org/&lt;br /&gt;
* [[Goldwave]]: http://www.goldwave.com/&lt;br /&gt;
* [[shntool]]: http://www.etree.org/shnutils/shntool/&lt;br /&gt;
* Wave Repair: http://www.waverepair.com/&lt;br /&gt;
* CUEgenerator: http://cuegenerator.net/&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Gap settings]]&lt;br /&gt;
* [[EAC CUE Sheets]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [https://github.com/libyal/libodraw/blob/main/documentation/CUE%20sheet%20format.asciidoc libodraw cue sheet documentation]&lt;br /&gt;
* [http://web.archive.org/web/20070614044112/http://www.goldenhawk.com/download/cdrwin.pdf CDRWIN 3.8 Users Manual.book - cdrwin.pdf] via archive.org - Cue sheet commands are listed under Appendix A.&lt;br /&gt;
* [http://web.archive.org/web/20070217191217/http://www.goldenhawk.com/ goldenhawk.com] via archive.org&lt;br /&gt;
* {{wikipedia|Cue sheet (computing)}}&lt;br /&gt;
&lt;br /&gt;
[[Category:CD ripping]]&lt;/div&gt;</summary>
		<author><name>73.167.61.121</name></author>
	</entry>
</feed>