AW: [vorbis-dev] Possible bug in psy.c

Roman Razilov Roman.Razilov at quantum-logistics.com
Thu Jul 6 00:48:40 PDT 2000



> -----Ursprüngliche Nachricht-----
> Von:	Monty [SMTP:xiphmont at xiph.org]
> Gesendet am:	Donnerstag, 6. Juli 2000 01:30
> An:	vorbis-dev at xiph.org
> Betreff:	Re: [vorbis-dev] Possible bug in psy.c 
> 
> > Hi all,
> > 
> > I'm quite new to Vorbis, so please excuse me if I'm writing complete
> > nonsense (and, if possible, tell me where I'm wrong).
> > If this is intended to be a simple smoothing operation, I would expect
> that
> > work[0] and work[n-1] must be divided by sqrt(2) and all other entries
> in work
> > must be divided by sqrt(3) in order to renormalize work[].
> 
> it computes 'sqrt(work[i-1]^2+work[i]^2+work[i+1]^2)' as intended.
> 
        [Roman Razilov]  
        but not for first and last sample...
        for first sqrt(work[0]^2 + work[1]^2)  and for last sqrt(
work[n-2]^2 + work[n-1]^2 ), 
        I don't know if the normalisation at the end is critical at the end
but still...

> Monty
> 
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list