These are not original poster's samples but they have worked reliably for showing gapless issues for me. part 1 and part 2.

Thanks Case,

I tested the samples. They are fine for testing sample accurate decoding, but they don't cause the LAME MP3 encoding & decoding process to produce a waveform mismatch that would cause an audible effect like a click. I tried -V9, -V5 and -b 320. As expected, sample accurate decoding worked fine and there is no reason to believe that any audio data would cause it to fail.

We would need to have samples that would produce encoding artifacts that are strong enough to cause audible discrepancy at the track boundary.

Small Pop between tracks using Lame VBR- V-0I am ripping with EAC and encoding with Lame, (version 3.98). 99% of the time I get a perfect transition between tracks that are suppose to be gapless (I.E Pink floyd albums) but I have a few tracks that have a very very small tick or pop from one track to the next. EAC said copy was 100% perfect. I am using Foobar for P.C playback.

As i said it is not between every track just the odd one or two. Does anyone have any ideas? I have tried various releases of lame and EAC the Glitch is always in the same spot it and is not showing up in the WAV file, only the encoded Lame file

Thanks.

O.K I opened the file in Audacity, zoomed in and found there is a very small amount of silence at the end of the track. Is this silence the click?

If you rip it to a single file with cuesheet, then encode that file to MP3, you can split using pcutmp3 to generate a different kind of gapless information than LAME provides. Doing this might fix your problem.

This is the one and only guaranteed solution that I know of. Not sure what the three pages after this helpful post were hoping to produce. Unless you use pcutmp3, gapless does not equal glitchless (except by good luck, which can be increased by using less lossy settings - this isn't a guarantee though!).

Just finished encoding some of my problem tracks with Lame "-b320 %s %d " and on all the tracks the click is gone or reduced to a level that after multiple listening sessions I cannot hear it. Good enough...

I decided to try Andavari's idea of short fading and it seems to work quite wonderfully. Pcutmp3 gives perfect gapless mp3 playback in foobar2000 but the files don't work properly on my portable players (iPods and Clip+).I made a DSP component for foobar that automatically fades the beginning and end of tracks to silence and it gives me glitchless transition on all problem tracks I have tried so far. If you wish to try download Fake Gapless DSP.

They do produce a click. Listen again more closely and use headphones if necessary.

I tried both -V3 and -V3 -ms (Lame 3.98) and heard a definite click in the left channel at the transition.

I have forgot to post that I revisited the samples and was able to hear the click with headphones when I knew exactly when the transition happens and what to expect then. Earlier I used desktop speakers and I didn't watch the computer screen so I didn't know exactly when the track changed. The faint high pitched click was masked by background noise, room acoustics and the loud cymbal crash that occurs only about 50 ms later. I must admit that I expected a more pronounced click or pop.

I wonder if a VBR encoder could have a mode that would use the maximum possible quality for the first and last frame (and maybe gradually change to the normal quality during a few following/preceding frames). It could make some track transition problems less pronounced without increasing the file size significantly.

I made a DSP component for foobar that automatically fades the beginning and end of tracks to silence and it gives me glitchless transition on all problem tracks I have tried so far. If you wish to try download Fake Gapless DSP.

This is interesting. I don't have an archive of problem tracks, but I tried it with some gapless albums that have always played fine and at least I couldn't hear any adverse effect.

Here's 10 second clips of tracks that produce even more audible glitch that you will easily hear even with speakers. They are from tracks 1 and 2 of Misplaced Childhood by Marillion.m1.flac ( 860.68K )
Number of downloads: 235

Here's 10 second clips of tracks that produce even more audible glitch that you will easily hear even with speakers. They are from tracks 1 and 2 of Misplaced Childhood by Marillion.m1.flac ( 860.68K )
Number of downloads: 235

(often fuelled by estimates quoted by frontends), in this case -V0 and 320 kbps.

Maybe it depends which version of Foobar2000 he's using, but the two appear at different positions on the slider in V1.0.3 with V0 clearly marked as "~245kbps (*), V0" and the adjacent highest setting clearly marked as "320kbps CBR". It's impossible to confuse the two.

I suppose I should have anticipated that, especially given the mention of -V0 -b320 earlier. However, the resulting file is not VBR in the typical sense sense that frames have or can have different bitrates, only that the bit reservoir is used differently or suchlike IIRC.

I don't hear any glitches when I play those 2 FLAC files in foobar, nor do I hear any when I convert them to MP3 V0320 and play them in foobar.

As soon as I tried V0, there was a small pop between them.

Those samples indeed seem to get enough quality boost from CBR, but my earlier Dimmu Borgir samples still click even with forced 320 kbps.I have switched to using Fake Gapless DSP and recompressed all my lossy files from my FLACs with it enabled. I haven't yet heard a glitch with it enabled on my tracks.