Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Offset question in EAC (Read 9026 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Offset question in EAC

I have one question about offsets:

I have samsung dvd-rom sd-616T drive with read sample offset correction value +1182 and with option to overread only into Lead-In.

Now, I want to rip my CD collection to disk offset corrected and I'm not planning to write them back to CD -- just rip them to my HDD for archival and transcoding to lossy, and I'm wondering what is correct to setup in EAC? I checked "Use read sample offset correction" and now I don't know do I need to select and "Overread into Lead-In and Lead-Out"? Can I have properly offset corrected files with my drive?

Offset question in EAC

Reply #1
I'm a little rusty on this offset thing, but I will give it a try.

I think that you have to check the "Use read sample offset correction" option and leave the other one (the lead in and lead out one) intact. I think that one is only to be left checked on drives that allow both processes. But read the FAQ, also. It has a section about offsets.

Now, I would not worry to much about offsets. Look, I have both my drives calibrated for offsets, but just because I did it two years ago when I first got them, not because I think it makes any difference.

The truth is, there is no real payoff in determining the offsets. The amount of "data" you lose for each extraction on a non-calibrated drive is beyond MINIMAL. You could extract and burn a CD with the same drive (non-calibrated) maybe a couple of hundred times and you would never notice any difference in sound at all.
That is a fact.

So there you go...
I'm the one in the picture, sitting on a giant cabbage in Mexico, circa 1978.
Reseñas de Rock en Español: www.estadogeneral.com

Offset question in EAC

Reply #2
Yes, I also think that I should uncheck the overread into LeadIn/Out... Anyway, I agree with you about offsets, it's for hard-core audiophiles/perfectionists...

Offset question in EAC

Reply #3
It sounds more logical that you have to check that box
even though you only have 1 of 2...

Offset question in EAC

Reply #4
If you're sure that your drive doesn't overread into lead out, check the "full up missing offset samples with silence" option, in "EAC options". Overreading has no importance since it doesn't work.

Offset question in EAC

Reply #5
Thanks for your replays.

 

Offset question in EAC

Reply #6
Quote
It sounds more logical that you have to check that box
even though you only have 1 of 2...

I am pretty sure that EAC defaults to unchecking that box when only one out of the two lead-in/out is found during the auto detection process. So I guess it is safer to uncheck that box when you don't have both?

Anyway, from the tutorial @ Coaster factory I found this:
Quote
If your drive has a negative read offset or a positive read offset correction it also needs overreading into the Lead-Out in order to have no missing samples on extraction. If the drive has a positive read offset or a negative read offset correction it needs overreading into the Lead-In.

Since this drive has a read offset correction value of +1182, you would only need the possibility to read into Lead-Out to get all samples during extraction. Problem is that this drive only supports reading Lead-In. So if I am not lost totally here, there shouldn't be any point to check the box, since at best it would only mean reading the Lead-in, and you really need the lead-out. Am I right?

Offset question in EAC

Reply #7
Quote
Am I right?

Yes, the drive will never attempt to overread into lead-in.

Offset question in EAC

Reply #8
Quote
Yes, the drive will never attempt to overread into lead-in.

Hmm, that wasn't really what I stated...

I was curious to whether I have understood correctly that a positive read offset correction value (like +1182) means, that to be able to get all samples during extraction, the drive would only have to be able to read lead-out? In other words, the ability to read lead-in is of no use when the drive has a positive read offset correction value?

I also got curious to whether checking the box (ability to read lead-in & lead-out) for a drive that only supports one of them, would mean
a) nothing, neither lead-in nor lead-out is read
B) the one supported is read
c) risk of erroneuos behaviour

Offset question in EAC

Reply #9
Quote
I was curious to whether I have understood correctly that a positive read offset correction value (like +1182) means, that to be able to get all samples during extraction, the drive would only have to be able to read lead-out? In other words, the ability to read lead-in is of no use when the drive has a positive read offset correction value?

AFAIK the answer is yes, reading lead-in would do nothing for you if you have a positive read offset correction (and hence a negative read offset).

Quote
I also got curious to whether checking the box (ability to read lead-in & lead-out) for a drive that only supports one of them, would mean
a) nothing, neither lead-in nor lead-out is read
B) the one supported is read
c) risk of erroneuos behaviour

I've had mine set incorrectly for a period of time before, and never had c) occur that I was aware of, so I'm pretty sure b ) is the what would be done.  Especially since the only option is combined in EAC preferences, and it's not seperated into  Read Into Lead-In and Read Into Lead-Out.  Checking the box would seem to "activate" whichever your drive can do, if it can't do both.

Offset question in EAC

Reply #10
If overread is unchecked, overread is never attempted.

If the box is checked, there are three possible cases :

If your read offset correction is null. Overread is never performed.
If your offset correction is positive, overread into lead out is attempted when the drive finishes the last track.
If your offset correction is negative, if you copy image, overread into lead-in is  attempted at the beginning. But if you copy tracks, there are two possibilities :

If the offset correction is smaller than the pregap of track 1, overread into the pregap is attempted when ripping the beginning of track 1. This can be achieved even with drives not supporting overread into lead-in, but it can fail too.
If the offset correction is bigger than the pregap of track 1 (exemple : if the pregap is 0), overread into lead-in is attempted if you rip track 1.

In no case the ability of the drive is taken into account.

If you attempt to overread with a drive that doesn't support it, it can return null samples instead of data, it can return C2 errors and null samples, it can also return a read error.

Note again the misleading terminology : Before the pregap of track 1 (any size) that starts at sector zero, there is no lead-in, but the pregap of the audio session (2 seconds), that starts at absolut time 0:00:00:00. This is in there that you overread, never into the lead-in. To overread into lead in, you'd have to hack the registry in order to set the read offset correction to about -90,000 in order to go beyond the audio session pregap. I've never tried and I don't know what can happen if it is done.

Offset question in EAC

Reply #11
Quote
Quote
I was curious to whether I have understood correctly that a positive read offset correction value (like +1182) means, that to be able to get all samples during extraction, the drive would only have to be able to read lead-out? In other words, the ability to read lead-in is of no use when the drive has a positive read offset correction value?

AFAIK the answer is yes, reading lead-in would do nothing for you if you have a positive read offset correction (and hence a negative read offset).



Yes, for magic75's drive, I would bet on that.  But for other drives, it depends on HOW FAR the drive can read into the pregap (lead-in is a misnomer).  If it can read MORE units into the pregap than the positive offset, in this case 1182, than it might be able to get something, but I doubt that magic75's drive could read that far to the left.  If you know how far your drive can read into the pregap, you subtract that value from the positive offset value (or add it to the offset correction value) and that is how much you will still lose, IF the audio at that point is not digital silence.  We are talking about REALLY small amounts of sound here, though, if you ever lose any.  When I use offset correction, I am more concerned with having the tracks in the middle match any other track ripped by another drive with offsets corrected.  If the first or last track is off by a bit or two, but the other tracks match, one knows that it is still an ok rip.
WARNING:  Changing of advanced parameters might degrade sound quality.  Modify them only if you are expirienced in audio compression!

Offset question in EAC

Reply #12
Quote
We are talking about REALLY small amounts of sound here, though, if you ever lose any.

I'd like to make clear that if you loose 500 samples of audio, the effect is perfectly audible and annoying.
The point is that about 95% of drives have a positive read offset correction. Thus what you loose is at the end of last track, which is silence 99.9 % of the time. For the 5 % that have negative read offset correction, the beginning of track 1 is silence 95 % of the time, I guess (should be checked, if someone is interested).

Offset question in EAC

Reply #13
I tested little more, I checked overread and I got read error on the very end of last track (or sync error, I don't remember anymore), then I unchecked and everything was fine. So, I checked read offset correction and unchecked overreading...
Grrr, my next drive will be Plextor for sure.

N.B. The computer that I'm using is of my father (I don't have mine yet)...

Offset question in EAC

Reply #14
Quote
Quote
We are talking about REALLY small amounts of sound here, though, if you ever lose any.

I'd like to make clear that if you loose 500 samples of audio, the effect is perfectly audible and annoying.
The point is that about 95% of drives have a positive read offset correction. Thus what you loose is at the end of last track, which is silence 99.9 % of the time. For the 5 % that have negative read offset correction, the beginning of track 1 is silence 95 % of the time, I guess (should be checked, if someone is interested).

Yeah, that's true.  I was simply considering that if you play the album back gapless, like it should be played, all you really will be losing is something very small at the beginning, and everything else is just shifted...if you can't read into the leadout, you will also lose a little bit at the end.  I read all my CDs with corrected offsets, but I was just noting that if played one song after the next, you will only miss something very small at the beginning, if anything.
WARNING:  Changing of advanced parameters might degrade sound quality.  Modify them only if you are expirienced in audio compression!

Offset question in EAC

Reply #15
Quote
I tested little more, I checked overread and I got read error on the very end of last track (or sync error, I don't remember anymore), then I unchecked and everything was fine.

Yes, that's typical for a drive that doesn't support leadin/out reading:
Quote
If you attempt to overread with a drive that doesn't support it, it can return null samples instead of data, it can return C2 errors and null samples, it can also return a read error.

Offset question in EAC

Reply #16
Quote
I also got curious to whether checking the box (ability to read lead-in & lead-out) for a drive that only supports one of them, would mean
a) nothing, neither lead-in nor lead-out is read
b) the one supported is read
c) risk of erroneuos behaviour


Magic75, I'm now sure, b) is right. I have a drive that only reads into Lead-Out and has a positive read offset correction value (negative read offset). I always have the option 'overread into Lead-In/Lead-Out' enabled and the drive does overread at the end of the disc, because there never were any samples missing. I know this, because the extracted files were identical to the ones extracted by another drive that reads into both Lead-In/Lead-Out.


Quote
If the offset correction is bigger than the pregap of track 1 (exemple : if the pregap is 0), overread into lead-in is attempted if you rip track 1.


Pio2001, I hope you know that the pregap of the first track never can be smaller than 2 seconds (only longer). A first pregap shorter than 2 seconds is illegal for Audio-CDs. It is the only gap that can't be 0. (But a first pregap of only 2 seconds isn't visible to Audio-CD players.)

Another discussion of this problem is here.
I know that I know nothing. But how can I then know that ?

Offset question in EAC

Reply #17
Quote
Magic75, I'm now sure, b) is right. I have a drive that only reads into Lead-Out and has a positive read offset correction value (negative read offset). I always have the option 'overread into Lead-In/Lead-Out' enabled and the drive does overread at the end of the disc, because there never were any samples missing. I know this, because the extracted files were identical to the ones extracted by another drive that reads into both Lead-In/Lead-Out.

No, I don't think b) is right. The reason you don't have any problems is because you have a positive offset correction, and EAC hence only needs to read into lead-out, which is supported. If you had a negative correction value it would attempt to read lead-in instead and the drive could return garbage.

So, neither a), b) or c) is correct. In fact the whole question is incorrect...

I think Pio's explanation is says it all:
Quote
If the box is checked, there are three possible cases :

If your read offset correction is null. Overread is never performed.
If your offset correction is positive, overread into lead out is attempted when the drive finishes the last track.
If your offset correction is negative, if you copy image, overread into lead-in is attempted at the beginning. But if you copy tracks, there are two possibilities :

Offset question in EAC

Reply #18
Hello, Precisionist, thank you for joining and helping

Quote
I always have the option 'overread into Lead-In/Lead-Out' enabled and the drive does overread at the end of the disc, because there never were any samples missing. I know this, because the extracted files were identical to the ones extracted by another drive that reads into both Lead-In/Lead-Out.


It doesn't prove that your drive can overread. I've got some drives that accepted to overread, but returned null samples after the end of the last track instead of the audio that was there. For example if I set the read offset correction to +1000, I got a wav file with exactly 1000 null samples at the end, while another drive returned some different audio data reading the same range.
So you must find a CD with data in the lead out in order to really test for overread. And you must have one drive that overreads in order to test this, or at least a drive with an inferior read offset correction. Try old AAD CDs. Or if you can't find one, burn yourself a sine on a CDR with a burner that has a write offset superior to the absolute read offset of the tested drive (this way you don't have to have another drive, since you know what you're burning).
Rip the last track with offset correction, open it in a wav editor with vertical zoom ability, and see if the signal is present until the end.

Quote
Quote
If the offset correction is bigger than the pregap of track 1 (exemple : if the pregap is 0), overread into lead-in is attempted if you rip track 1.

Pio2001, I hope you know that the pregap of the first track never can be smaller than 2 seconds (only longer). A first pregap shorter than 2 seconds is illegal for Audio-CDs. It is the only gap that can't be 0. (But a first pregap of only 2 seconds isn't visible to Audio-CD players.)



Yes, I was trying to use a sensible terminology since there is no official one.
An audio CD begins like this :

----------Track 0

Lead In

----------Track 1 Index 0 = Absolut time 0:00:00:00

I suggest "pregap of the audio session" for this zone

----------Sector 0 = Absolut time 0:00:02:00

I suggest "pregap" or "gap of the first track" for this zone

----------Track 1 Index 1

The pregap of the audio session (from 0:00:00:00 to 0:00:02:00) is always 2 seconds long. It may have audio data in it (though it should be all silent in theory). It can't be ripped "by range". My hifi standalone player Yamaha CDX-860 can't access it, even rewinding before track one. EAC can rip it only if the read offset correction is negative.

The gap of the first track (from sector 0 to Track 1 index 1) can have any size. It is often 0. When it is not zero, it can be ripped "by range", and it can be played by a standalone player rewinding from track 1 index 1.

My point was that some drives may overread into the gap of track 1 but not into the pregap of the audio session.

By the way : the two "hidden tracks" that I've seen (Elegia - From within and another one that I don't remember of) fill all the track 1 index 0, thus can't be fully played rewinding from track 1 index 1, and can't be ripped by range, nor setting an offset correction (value out of range). The 2 first seconds are always missing. They can be ripped hacking the registry setting for read offset correction and setting it to -88,200, plus your usual read offset correction.

Offset question in EAC

Reply #19
Hi!

Quote
Quote
Magic75, I'm now sure, b) is right. I have a drive that only reads into Lead-Out and has a positive read offset correction value (negative read offset). I always have the option 'overread into Lead-In/Lead-Out' enabled and the drive does overread at the end of the disc, because there never were any samples missing. I know this, because the extracted files were identical to the ones extracted by another drive that reads into both Lead-In/Lead-Out.

No, I don't think b) is right. The reason you don't have any problems is because you have a positive offset correction, and EAC hence only needs to read into lead-out, which is supported. If you had a negative correction value it would attempt to read lead-in instead and the drive could return garbage.

So, neither a), b) or c) is correct. In fact the whole question is incorrect...


I largely agree. But I still think it is a good question, it's just not specific enough. You mean that not only overreading capability is important, but the combination with a positive/negative read offset correction value, am I right ?


Pio2001, thank you for your welcome.

Quote
It doesn't prove that your drive can overread. I've got some drives that accepted to overread, but returned null samples after the end of the last track instead of the audio that was there. For example if I set the read offset correction to +1000, I got a wav file with exactly 1000 null samples at the end, while another drive returned some different audio data reading the same range.


It seems to me that you haven't understood all of what I said, because I gave you not enough information. If I say two files are "identical", I mean they are really bit by bit the same, just as if you had created a copy in the windows explorer or so. In your example they of course would be different. If I compared them with EAC's "wav compare" it would say "different samples" at the end of the file.

Quote
So you must find a CD with data in the lead out in order to really test for overread. And you must have one drive that overreads in order to test this, or at least a drive with an inferior read offset correction. Try old AAD CDs. Or if you can't find one, burn yourself a sine on a CDR with a burner that has a write offset superior to the absolute read offset of the tested drive (this way you don't have to have another drive, since you know what you're burning).
Rip the last track with offset correction, open it in a wav editor with vertical zoom ability, and see if the signal is present until the end.


I'm not sure if I have understood all of it correctly, but I think I have already done exactly this several times with different CDs.
There's also a third point. I am used to verify ripping processes by doing them several times in different ways. The more different the methods are, the better. The resulting files have to be identical.
I have three methods of creating a wav file from an Audio-CD track. The first and second are two PC-drives with perfect offset and other settings in EAC. The third is the digital out of my Audio-CD player, that I record (digital, of course) on my hard disc. (Some null samples at the beginning and at the end of the record must be deleted according to the files from ripping, so this third method is not so exact. A CD with no null samples at the beginning and at the end of the tracks should be used.) All of these three methods show me identical sample values at the end (or at other sections) of Audio-CDs. The probability that all of them are wrong in the same way (cause they are identical) isn't worth to be mentioned.

Thank you for your scientific explanation in the second part of your post.

Cheers
I know that I know nothing. But how can I then know that ?

Offset question in EAC

Reply #20
Quote
All of these three methods show me identical sample values at the end (or at other sections) of Audio-CDs. The probability that all of them are wrong in the same way (cause they are identical) isn't worth to be mentioned.

The key point is to use CDs with non zero data until the end of the last track. Very few CD have this. Usually, the data in the last second of the CD is not random, it is strictly null. With 95 % of the CDs, even if your drive is not capable of overreading into lead out because it returns null samples instead of data, EAC will report that it can overread, and the returned file will be indeed bit for bit identical, because the real data were originally null samples... that have been lost and replaced by other null samples !

Your method is correct, but I'm not sure if you performed the first step : finding a CD with non null data until the very last sample of last track (or creating one yourself).

Using pressed CDs at random, your test will give you perfect results 95 % of the time, even whith some drives unable to overread and unfortunately detected as capable by EAC.

Offset question in EAC

Reply #21
Quote
Your method is correct, but I'm not sure if you performed the first step : finding a CD with non null data until the very last sample of last track (or creating one yourself).


Many of the CDs I have used were old AAD CDs, like you suggested ,Pio2001, and I'm sure at least on some CDs their last samples of the last track weren't null. But I have never used your second method, creating a sign wave and burning it.
I know that I know nothing. But how can I then know that ?

Offset question in EAC

Reply #22
Quote
I largely agree. But I still think it is a good question, it's just not specific enough. You mean that not only overreading capability is important, but the combination with a positive/negative read offset correction value, am I right ?

Yes

Offset question in EAC

Reply #23
Quote
An audio CD begins like this :

----------Track 0

Lead In

----------Track 1 Index 0 = Absolut time 0:00:00:00

I suggest "pregap of the audio session" for this zone

----------Sector 0 = Absolut time 0:00:02:00

I suggest "pregap" or "gap of the first track" for this zone

----------Track 1 Index 1


I'm not sure about this any more. I think it should be something like:

----------Track 0

Lead In

---------- Absolut time "-00:02.00"

pregap of the audio session

----------Track 1 Index 0 = Absolut time 00:00.00

gap of the first track

----------Track 1 Index 1 = Absolut time 00:02:00

Time format is mm:ss.ff.
In its writing window and cue sheet, EAC adjusts the beginning of the gap of the first track at absolute time 0:00.00.
I also noticed that on self-written audio CDs my own and one other CD player are able to search back into the pregap of the audio session.
I know that I know nothing. But how can I then know that ?

Offset question in EAC

Reply #24
Quote
In its writing window and cue sheet, EAC adjusts the beginning of the gap of the first track at absolute time 0:00.00.[a href="index.php?act=findpost&pid=230024"][{POST_SNAPBACK}][/a]


Yes, but Nero adjusts it at 0:00:02:00, who should we believe ?

Quote
I also noticed that on self-written audio CDs my own and one other CD player are able to search back into the pregap of the audio session.
[a href="index.php?act=findpost&pid=230024"][{POST_SNAPBACK}][/a]


How do you know what the pregap is made of ? The same divergences apply to burning software : Samplitude even switched to "track 1 index 0 = 0:00:02:00" in version 4 to "track 1 index 0 = 0:00:00:00" in version 6. Any software can add 2 seconds of pregap without telling you. Being able to read everything that you burned doesn't mean that you can read into the first pre gap.
Since overwriting requires special hardware (do you have the Teac drives that EAC can use to overwrite ? Then  burn a CD without any gap, but with a write offset of +44100), we can only find some audio in the pre gap in some bugged commercial CDs. For example Mike Oldfield - Discovery, bought in France.