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: Small Pop between tracks using Lame VBR- V-0 (Read 48597 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Small Pop between tracks using Lame VBR- V-0

Reply #50
We aren't talking about lossless codecs; it seems from your post that you don't know of any lossy codecs.


Sorry, it was a typo. The correct sentence would be:

For any lossy codec this could be guaranteed, though, with sufficient effort.

Small Pop between tracks using Lame VBR- V-0

Reply #51
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-0

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

Small Pop between tracks using Lame VBR- V-0

Reply #53
Small Pop between tracks using Lame VBR- V-0
I 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?

Small Pop between tracks using Lame VBR- V-0

Reply #54
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!).

Cheers,
David.

Small Pop between tracks using Lame VBR- V-0

Reply #55
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.

Small Pop between tracks using Lame VBR- V-0

Reply #56
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...

Small Pop between tracks using Lame VBR- V-0

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

I just tried -b320 (Lame 3.98.4) and can still hear a click in the left channel at the transition.

Small Pop between tracks using Lame VBR- V-0

Reply #58
These were on my own encoded files. Could be that the click was smaller to begin with?

Small Pop between tracks using Lame VBR- V-0

Reply #59
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.

Small Pop between tracks using Lame VBR- V-0

Reply #60
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.

Small Pop between tracks using Lame VBR- V-0

Reply #61
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.

Small Pop between tracks using Lame VBR- V-0

Reply #62
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.
[attachment=6009:m1.flac]
[attachment=6010:m2.flac]

Small Pop between tracks using Lame VBR- V-0

Reply #63
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.
[attachment=6009:m1.flac]
[attachment=6010:m2.flac]


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.

Odd.



 

Small Pop between tracks using Lame VBR- V-0

Reply #66
Or just the common misconception that VBR quality levels equate to or should arrive at some definable (average) bitrate (often fuelled by estimates quoted by frontends), in this case -V0 and 320 kbps.

Small Pop between tracks using Lame VBR- V-0

Reply #67
(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.

Small Pop between tracks using Lame VBR- V-0

Reply #68
I wasn't implicating foobar2000.

Or any application, in this case, since a VBR file obviously can't have an average bitrate of 320 kbps.

Small Pop between tracks using Lame VBR- V-0

Reply #69
I wasn't implicating foobar2000.

Or any application, in this case, since a VBR file obviously can't have an average bitrate of 320 kbps.

Well, sort of, since you can specify a VBR file with a minimum bitrate of 320 kbps. And, yes, you get a somewhat different file than a 320 kbps CBR encode.


Small Pop between tracks using Lame VBR- V-0

Reply #70
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.

Small Pop between tracks using Lame VBR- V-0

Reply #71
Maybe it depends which version of Foobar2000 he's using

He said he used foobar to play them, but never said what he used to convert them, specifically:
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.

...and the speculation train rolls on.

Small Pop between tracks using Lame VBR- V-0

Reply #72
I meant 320, the V0320 thing was a typo.

Basically: CBR MP3 = No pop
VBR V0 = pop

Small Pop between tracks using Lame VBR- V-0

Reply #73
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.

Small Pop between tracks using Lame VBR- V-0

Reply #74
I meant 320, the V0320 thing was a typo.

Basically: CBR MP3 = No pop
VBR V0 = pop


This is exactly my experience with VBR and CBR 320. I encode all my MP3's in CBR 320 now and No more Pops.