Editing EAC and Cue Sheets

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{EAC guides}}
+
This article explains the different types of [[cue sheet|CUE sheet]]s that can be produced in [[Exact Audio Copy]].
This article explains the different types of [[cue sheet]]s that can be produced in [[Exact Audio Copy]].
+
  
 
== The 4 types ==
 
== The 4 types ==
Line 19: Line 18:
  
 
=== Single WAV File - a.k.a. "Copy Image" ===
 
=== Single WAV File - a.k.a. "Copy Image" ===
<pre style="display:table">
+
FILE "D:\MP3\Ripados\Range.wav" WAVE
FILE "D:\MP3\Ripados\Range.wav" WAVE
+
 
   TRACK 01 AUDIO
 
   TRACK 01 AUDIO
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
Line 41: Line 39:
 
     INDEX 00 31:49:40
 
     INDEX 00 31:49:40
 
     INDEX 01 31:50:40
 
     INDEX 01 31:50:40
  TRACK 08 AUDIO
+
  TRACK 08 AUDIO
    INDEX 00 36:42:60
+
    INDEX 00 36:42:60
    INDEX 01 36:44:05
+
    INDEX 01 36:44:05
</pre>
+
 
  
 
As we can see, this one is pretty straightforward. A single file, assumed by EAC to be Range.wav, is used in all tracks. Track 1 starts with index 1 (a track 1-index 0 would mean a hidden track), at the file's absolute position 00:00:00. All the times are the absolute position within the Range.wav file. Here the tracks (01 indices) and the gaps (00 indices) are so easy to see and figure out that I have nothing much to tell about this format, except that this simple format will help us to understand the basics, and will sure come in hand when things get dicy.
 
As we can see, this one is pretty straightforward. A single file, assumed by EAC to be Range.wav, is used in all tracks. Track 1 starts with index 1 (a track 1-index 0 would mean a hidden track), at the file's absolute position 00:00:00. All the times are the absolute position within the Range.wav file. Here the tracks (01 indices) and the gaps (00 indices) are so easy to see and figure out that I have nothing much to tell about this format, except that this simple format will help us to understand the basics, and will sure come in hand when things get dicy.
Line 51: Line 49:
  
 
=== Multiple WAV Files With Corrected Gaps - a.k.a. "Append Gaps to (beginning of) Next Track" ===
 
=== Multiple WAV Files With Corrected Gaps - a.k.a. "Append Gaps to (beginning of) Next Track" ===
<pre style="display:table">
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
+
 
   TRACK 01 AUDIO
 
   TRACK 01 AUDIO
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
 
   TRACK 02 AUDIO
 
   TRACK 02 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:01:10
 
     INDEX 01 00:01:10
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
 
   TRACK 03 AUDIO
 
   TRACK 03 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:00:45
 
     INDEX 01 00:00:45
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
 
   TRACK 04 AUDIO
 
   TRACK 04 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:00:62
 
     INDEX 01 00:00:62
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
 
   TRACK 05 AUDIO
 
   TRACK 05 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:01:35
 
     INDEX 01 00:01:35
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
 
   TRACK 06 AUDIO
 
   TRACK 06 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:01:20
 
     INDEX 01 00:01:20
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
 
   TRACK 07 AUDIO
 
   TRACK 07 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:01:00
 
     INDEX 01 00:01:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
 
   TRACK 08 AUDIO
 
   TRACK 08 AUDIO
 
     INDEX 00 00:00:00
 
     INDEX 00 00:00:00
 
     INDEX 01 00:01:20
 
     INDEX 01 00:01:20
</pre>
 
  
 
Note that this CUE is very similar to the previous, the difference being multiple wavs are used. This CUE assumes you appended gaps in the beginning of each track, and that's why, for example, Track 03-Index 00 starts at 00:00:00 of Chemistry.wav. The actual song (index 01) starts at 00:00:45 of that file. This way we can easily see that this pregap is 00:00:45 long.
 
Note that this CUE is very similar to the previous, the difference being multiple wavs are used. This CUE assumes you appended gaps in the beginning of each track, and that's why, for example, Track 03-Index 00 starts at 00:00:00 of Chemistry.wav. The actual song (index 01) starts at 00:00:45 of that file. This way we can easily see that this pregap is 00:00:45 long.
Line 90: Line 86:
  
 
=== Multiple WAV Files With Left Out Gaps - a.k.a. "Leave Out Gaps" ===
 
=== Multiple WAV Files With Left Out Gaps - a.k.a. "Leave Out Gaps" ===
<pre style="display:table">
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
+
 
   TRACK 01 AUDIO
 
   TRACK 01 AUDIO
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
 
   TRACK 02 AUDIO
 
   TRACK 02 AUDIO
 
     PREGAP 00:01:10
 
     PREGAP 00:01:10
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
 
   TRACK 03 AUDIO
 
   TRACK 03 AUDIO
 
     PREGAP 00:00:45
 
     PREGAP 00:00:45
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
 
   TRACK 04 AUDIO
 
   TRACK 04 AUDIO
 
     PREGAP 00:00:62
 
     PREGAP 00:00:62
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
 
   TRACK 05 AUDIO
 
   TRACK 05 AUDIO
 
     PREGAP 00:01:35
 
     PREGAP 00:01:35
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
 
   TRACK 06 AUDIO
 
   TRACK 06 AUDIO
 
     PREGAP 00:01:20
 
     PREGAP 00:01:20
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
 
   TRACK 07 AUDIO
 
   TRACK 07 AUDIO
 
     PREGAP 00:01:00
 
     PREGAP 00:01:00
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
 
   TRACK 08 AUDIO
 
   TRACK 08 AUDIO
 
     PREGAP 00:01:20
 
     PREGAP 00:01:20
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
</pre>
 
  
 
This one also looks a lot like the previous. The difference is that now indices 01 start at the very beginning of the files (00:00:00). So, where are the gaps? They are artificially inserted with the "PREGAP" tag. PREGAP, as we can assume by reading this file and confirm its behaviour, tells the burner to create a 00 index of the specified length, filled with silence. Note that the INDEX 00 statement can't be used, because its time refers to the wav file, and in this case no gaps were appended anywere on the wavs. They were simply left out. PREGAP puts them back again (you better pray for what was left out was only silence, because that's all you'll get when using PREGAP). EAC's CD Layout Editor clearly shows that the 00 indices were re-created, but not from any wav file. In this format it is easy to see that the track 3 pregap that was removed when extracting the wavs was 00:00:45 long, because that's what the PREGAP statement of track 3 tells us.
 
This one also looks a lot like the previous. The difference is that now indices 01 start at the very beginning of the files (00:00:00). So, where are the gaps? They are artificially inserted with the "PREGAP" tag. PREGAP, as we can assume by reading this file and confirm its behaviour, tells the burner to create a 00 index of the specified length, filled with silence. Note that the INDEX 00 statement can't be used, because its time refers to the wav file, and in this case no gaps were appended anywere on the wavs. They were simply left out. PREGAP puts them back again (you better pray for what was left out was only silence, because that's all you'll get when using PREGAP). EAC's CD Layout Editor clearly shows that the 00 indices were re-created, but not from any wav file. In this format it is easy to see that the track 3 pregap that was removed when extracting the wavs was 00:00:45 long, because that's what the PREGAP statement of track 3 tells us.
Line 129: Line 123:
 
''In my case, this is the option used when "Current Gap Settings" is selected. I hope in yours too.''
 
''In my case, this is the option used when "Current Gap Settings" is selected. I hope in yours too.''
  
<pre style="display:table">
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 01 - Subdivisions.wav" WAVE
+
 
   TRACK 01 AUDIO
 
   TRACK 01 AUDIO
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 02 AUDIO
 
   TRACK 02 AUDIO
 
     INDEX 00 05:33:45
 
     INDEX 00 05:33:45
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 02 - The Analog Kid.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 03 AUDIO
 
   TRACK 03 AUDIO
 
     INDEX 00 04:47:32
 
     INDEX 00 04:47:32
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 03 - Chemistry.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 04 AUDIO
 
   TRACK 04 AUDIO
 
     INDEX 00 04:57:18
 
     INDEX 00 04:57:18
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 04 - Digital Man.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 05 AUDIO
 
   TRACK 05 AUDIO
 
     INDEX 00 06:20:53
 
     INDEX 00 06:20:53
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 05 - The Weapon.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 06 AUDIO
 
   TRACK 06 AUDIO
 
     INDEX 00 06:23:12
 
     INDEX 00 06:23:12
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 06 - New World Man.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 07 AUDIO
 
   TRACK 07 AUDIO
 
     INDEX 00 03:42:08
 
     INDEX 00 03:42:08
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 07 - Losing It.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
 
   TRACK 08 AUDIO
 
   TRACK 08 AUDIO
 
     INDEX 00 04:52:20
 
     INDEX 00 04:52:20
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
+
FILE "D:\MP3\Ripados\Rush\Signals\Rush - Signals - 08 - Countdown.wav" WAVE
 
     INDEX 01 00:00:00
 
     INDEX 01 00:00:00
</pre>
 
  
The most tricky, yet "right", CUE format. The first file, Subdivisions.wav, is used in both Track1-Index1 and Track2-Index0 (track 2 pregap). This gap starts at 05:33:45 of the file, and last until the end of it. Then, we see the marker of a new file, The Analog Kid.wav. Track 02 Index 01 starts at the beginning of this file, and lasts until 04:47:32, where, while keep reading the same wav file, Index 00 of Track 03 starts to be recorded. This pattern keeps until the end of the album, and we can see that each wav file is used for a track (index 01) and then for a pregap (index 00 of the next track). Using CD Layout Editor makes this tricky "chaining" of tracks and files very easy to see. So this format assumes that the gaps were appended to the end of the previous track. It's not a surprise then that Countdown.wav is only used as Track 08 - Index 01. As there is no track 9 pregap, nothing was appended to it. Its own pregap was appended to the previous file, Losing It.wav.
+
The most tricky, yet "right", CUE Format. The 1st file, Subdivisions.wav, is used in both Track1-Index1 and Track2-Index0 (track 2 pregap). This gap starts at 05:33:45 of the file, and last until the end of it. Then, we see the marker of a new file, The Analog Kid.wav. Track 02 Index 01 starts at the beginning of this file, and lasts until 04:47:18, where, while keep reading the same wav file, Index 00 of Track 03 starts to be recorded. This pattern keeps until the end of the album, and we can see that each wav file is used for a track (index 01) and then for a pregap (index 00 of the next track). Using CD Layout Editor makes this tricky "chaining" of tracks and files very easy to see. So this format assumes that the gaps were appended to the end of the previous track. It's not a surprise then that Countdown.wav is only used as Track 08 - Index 01. As there is no track 9 pregap, nothing was appended to it. Its own pregap was appended to the previous file, Losing It.wav.
  
 
Now lets try to find our now-famous 00:00:45 gap in this format. We already know that we are looking for Track 03 - Index 00. Looking at the CUE, we find that it is in The Analog Kid.wav file, starting from 04:47:32, and lasting until the end of this file. So we need to know, in a very accurate way, the length of this file.Winamp nor EncSpot? are accurate enough as they only have second precision. But we can again use EAC's CD Layout to manually "Append files as New Tracks" and see the length. And it tells us that "The Analog Kid.wav" is 04:48.16 long. Subtracting the gap's initial position from the file's length leads us to the actual gap length: 04:48:02 - 04:47:32 = 00:00:45!
 
Now lets try to find our now-famous 00:00:45 gap in this format. We already know that we are looking for Track 03 - Index 00. Looking at the CUE, we find that it is in The Analog Kid.wav file, starting from 04:47:32, and lasting until the end of this file. So we need to know, in a very accurate way, the length of this file.Winamp nor EncSpot? are accurate enough as they only have second precision. But we can again use EAC's CD Layout to manually "Append files as New Tracks" and see the length. And it tells us that "The Analog Kid.wav" is 04:48.16 long. Subtracting the gap's initial position from the file's length leads us to the actual gap length: 04:48:02 - 04:47:32 = 00:00:45!
Line 172: Line 164:
 
By now, I think that this format, as all the other ones, are quite clear. With the info here, one now might be able to, given any CUE, calculate all gap lengths and, if needed, edit the CUE Sheet to convert from one format to the other. Just in case you find out that in your mp3s the gaps were appended in the end of the tracks, as usual, but the CUE you have is the "corrected" one, where gaps are supposed to be at beginning. Now you can, with Notepad, Calculator, and a bit of Brains, ([[EAC]]s CD Layout Editor may be handy too), convert this cue to the format you want. (in this case, the "Noncompliant").
 
By now, I think that this format, as all the other ones, are quite clear. With the info here, one now might be able to, given any CUE, calculate all gap lengths and, if needed, edit the CUE Sheet to convert from one format to the other. Just in case you find out that in your mp3s the gaps were appended in the end of the tracks, as usual, but the CUE you have is the "corrected" one, where gaps are supposed to be at beginning. Now you can, with Notepad, Calculator, and a bit of Brains, ([[EAC]]s CD Layout Editor may be handy too), convert this cue to the format you want. (in this case, the "Noncompliant").
  
== Additional Reading ==
+
== Acknowledgments ==
 +
This article is based on MestreLion's great research posted in the HydrogenAudio forum.
  
[[EAC Gap Settings]]
+
All the knowledge shared here was gained by creating the 4 different cue sheets, opening them in Notepad and comparing them to the content showed in [[EAC]]s track window. Loading the CUEs into [[EAC]]s CD Layout Editor also helped a lot, by showing the CUE's content in a more friendly way.
 
+
== Acknowledgments ==
+
This article is based on MestreLion's great research posted in the Hydrogenaudio forum.<ref>{{ha|https://hydrogenaud.io/index.php/topic,4465.0.html|EAC Tutorial about gaps and cuesheets}}</ref>
+
  
All the knowledge shared here was gained by creating the four different cue sheets, opening them in Notepad and comparing them to the content showed in EAC's track window. Loading the cue sheets into[EAC's CD Layout Editor also helped a lot, by showing the CUE's content in a more friendly way.
 
  
==References==
+
[[Category:EAC Guides]]
<references/>
+

Please note that all contributions to Hydrogenaudio Knowledgebase are considered to be released under the GNU Free Documentation License 1.2 (see Hydrogenaudio Knowledgebase:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

Templates used on this page: