Displaying 3 results from an estimated 3 matches for "0001x".
Did you mean:
0001
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...
2014 Mar 20
2
BARK implementation (or specification) error
...ork which I describe below, I have found a very significant difference between the BARK function described in 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 impl...
2015 Feb 26
2
Vorbis I spec errata: single entry codebooks
The following has been committed to the Vorbis I spec as of r19445:
Errata 20150226: Single entry codebooks
A ?single-entry codebook? is a codebook with one active codeword
entry. A single-entry
codebook may be either a fully populated codebook with only one
declared entry, or a
sparse codebook with only one entry marked used. The Vorbis I spec
provides no means
to specify a codeword length of