[vorbis-dev] Idea for gapless tracks

Monty xiphmont at xiph.org
Fri Jan 12 17:28:46 PST 2001



> We all know that currently Vorbis is the only codec out there that
> doesn't add any silence to the decoded file, so when you decode
> your .ogg file the resulting .wav will be exactly the same length
> as the original one. This is very useful when encoding gapless
> songs (like live concerts...). But since Vorbis is a lossy codec,
> even though there is no silence added, sometimes you can
> still hear a click between gapless tracks because the end of
> the first song doesn't match up with the beginning of the second
> song. This doesn't happen always and as you encode files using
> higher bitrates these clicks seem to appear less frequently
> (as expected).
> 
> One of the solution would be to "teach" the encoder that
> it has to pay attention that the end of one songs should
> match up with the beginning of another one. But I'm
> thinking that there might be a better solution: the encoder
> shouldn't use psycho-acoustic at the very begging &
> very end of the songs (for a few milli seconds). This will
> ensure that the edges will always match...
> 
> Does this holds water or not?

Of the various suggestions, I have to say I like this one the most.
It's simple and relatively easy to do, gets the desired result, etc.
It would have to be an option of course (those first/last frames would
be kinda big), but that's not a problem.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list