[vorbis-dev] Idea for gapless tracks

Aleksandar Dovnikovic aldov at eunet.yu
Fri Feb 2 09:15:18 PST 2001



"Astafiev Andrei" <andrei at vest.ru> wrote:

> making files that depend on others is a wrong way.
> suppose, i don't have next file that decoder will do?
> or what will be if i'll encode cd and then split it on tracks?
> 
> the only one way to make gapeless output is to make
> independend frames and buffer them for decoder.

The Ogg Vorbis is designed in that way so that it doesn't add
any silence to the encoded file, so when you decode the file,
it will be exactly the same lenght as the original file 
(no other format currently does this). Now the only trouble
is, since it is a lossy format, sometimes the edges won't match
and you will hear a small click (of course you must use some
kind of gapless plug-in). So to avoid this, the encoder will
not use psycho-acoustic at the very beggining and/or end of
the file. This will be an option, so you can use it only on tracks
that are continuous, if you want to - or you can use some
plug-in that will fix this (but only the first solution is the complete
solution).
Now some of you people are mixing some of the functions
that belong to the player - with the decoder. The decoder
decodes the bitstream - what happens with the decoded
bitstream is up to the player and its plug-ins (mixing,
equalizing...). Also these gapless file do not depend on
each other - you can play them independently with no
problem - the only difference is that edges of these files are
fixed so that when they are played with gapless output
the song will continue into its second part with no
interruption (just like on audio CD).

Greetings,
Aleksandar

--- >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