[vorbis] Ogg Vorbis crossfading

Stan Seibert volsung at xiph.org
Fri Nov 28 10:37:19 PST 2003



On Fri, 2003-11-28 at 12:25, Ian Rutherford wrote:
> Does anyone know if cross-fading has been successfully implemented in
> Vorbis? I need to implement it in a project I¢m working on and if it¢s
> already been done, a finger pointing in the right direction would be
> awesome.

A vaguely related feature is provided by ov_crosslap().  Quoting from
the docs:

"ov_crosslap  overlaps  and blends the boundary at a transition between
two   seperate   streams  represented  by  seperate  [1]OggVorbis_File
structures.  For  lapping  transitions  due to seeking within a single
stream  represented  by a single [2]OggVorbis_File structure, consider
using  the  lapping  versions  of  the [3]vorbisfile seeking functions
instead."

(Until I pasted that into my email program, I never noticed that
"seperate" was misspelled...)

Anyway, crosslap does not do the sort of volume fading that a crossfade
implementation would do, but I thought I'd point out the feature in case
you find it related to your needs.


---
Stan Seibert

<p>--- >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-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 mailing list