search for: 00074f

Displaying 3 results from an estimated 3 matches for "00074f".

Did you mean: 00074
2004 Dec 16
3
Qyery on bark equation in floor0 code
Hi All, I need some clarifications regarding the mismatch I found in the code and the specification. (a) In the specification, the bark(x) equation is given as: bark(x) = 13.1 atan(.00074x) + 2.24 atan(.0000000158(x^2)) + .0001x whereas in the code it is given as: #define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n)) Which one of these is the proper one ? (b) Also, we are planning to implement a fixed point code for the Vorbis decoder. And as usual the obvious criteria is the compliance and how accurately this fixed point code should generate the output that matche...
2000 Dec 21
6
oggenc: feature request
I have a small feature request for oggenc: Can a command line option be added to allow the user to set the first serial number to be used for the output ogg stream? This only takes a few lines of code, actually. Rationale: it is quite helpful for debugging other encoders. If oggenc is the "reference" encoder, ensuring that your new whiz-bang encoder has diffable output to oggenc is a
2014 Mar 20
2
BARK implementation (or specification) error
...the Vorbis specification and its implementation in libvorbis. In the specificationhttp://xiph.org/vorbis/doc/Vorbis_I_spec.pdf bark(x) = 13.1arctan(.00074x) + 2.24arctan(.0000000185x**2 + .0001x) In the libvorbis code http://svn.xiph.org/trunk/vorbis/lib/scales.h #define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n)) You will note that the last term is inside the parentheses of the second arctan function in the specification but outside in the libvorbis implementation. This results in extremely large differences at high frequencies. Which is correct: the specificati...