adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] Interesting link about Ogg Vorbis looping


From: Kai Sterker
Subject: Re: [Adonthell-devel] Interesting link about Ogg Vorbis looping
Date: Wed, 24 Apr 2002 10:14:32 +0200

On 24 Apr 2002 10:03:23 +0200 Alexandre Courbot wrote:

> Just to be sure not to lose it, I post it here - you might also find
> it interesting for when time will come.
> 
> http://www.xiph.org/archives/vorbis-dev/200111/0140.html
> 
> The guy seems to have come with a very simple and elegant solution.
> But it reminds me something. Haven't we used something similar, but
> found it was eating too much CPU when looping? Still, that wouldn't be
> THAT serious for now, as long as it's working.

That's more or less what we did, and it didn't work well. Made all kinds
of popping noises at the loop points and was really awkward.

That would be the better solution:

> The idea is this: you have 3 vorbis streams (in a single file.
> Creating this can be as easy as "cat intro.ogg main.ogg outro.ogg >
> full.ogg").
>
> Then, you just play through - when you hit EOS (end of stream, _not_
> end of file), you can then make a decision - either loop back to the
> start(normally), or continue on (when you want to go from intro->main,
> or main->outro).
>
> In some ways this is more complex, but in other ways it's a more
> natural fit to your problem. There's no substantial advantage either
> way.


You don't ask me to work at the audio system once more? ;)

Kai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]