[Vorbis] Splitting a WAV file to aid gapless playback

Michael Smith msmith at xiph.org
Mon Mar 19 08:34:49 PDT 2007


On 3/19/07, Steve Fosdick <xiph at pelvoux.nildram.co.uk> wrote:
> Assuming I have a WAV file that represents a continous performance, e.g. a
> recording of a live concert, which I want to play continously on a CD but
> nevertheless have track marks so that individual items can be selected some
> WAV splitting programs offer the ability to split the file into pieces which
> are an exact multiple of the CD sector size so that when recording all these
> files to CD with no sector gap there is no extra silence introduced.
>
> Is it possible to do the same with Ogg/Vorbis files, i.e. is there a
> block/window size where I can make each WAV file to be encoded consist of
> a whole number of these blocks?  So what is it please?

Fortunately, with vorbis you don't need to do that.

The format handles the start and end of the stream slightly specially,
and will ensure that only precisely the correct number of samples are
output.

Mike


More information about the Vorbis mailing list