[vorbis-dev] Specification change requests

Nicolas Pitre nico at cam.org
Tue Oct 15 13:18:01 PDT 2002



On Tue, 15 Oct 2002, Tor-Einar Jarnbjo wrote:

> ###############
> #2002-10-15-003
> 
> The function used to describe the window slope in "Ogg Vorbis I format 
> specification: introduction and description" is:
> 
> y=sin(2PI*sin^2(x/n))
> (here, I even don't understand the notation you use)
> 
> The function described in the source code comment (window.c, line 29)
> is:
> 
> y=sin(sin(x)*sin(x)*2pi)
> 
> And at last, the function actually implemented in libvorbis, 
> (window.c, lines 33-38) is:
> 
> y=sin(sin(x/n*PI/2)^2*PI/2)

Even this isn't exact.  It rather looks like:

        y=sin(sin((x+0.5)/n*PI/2)^2*PI/2)

<p>Nicolas

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