search for: codebook_dimensions

Displaying 2 results from an estimated 2 matches for "codebook_dimensions".

2002 Jul 20
3
Vorbis 1.0 spec notes, part 1
..." -> "if ( [sign] is nonzero )" - question: What are the tolerances on this function? Is it acceptable for me to cast mantissa to double, multiply it by the double returned from pow(2,(dobule)(exponent-788)), and cast the result to float? * lookup1_values - given: return_value ^ codebook_dimensions = codebook_entries -> is this correct: ? (I'm out of school so my algebra is slacking...) -> return_value = log(codebook_entires) / log(codebook_dimensions) -> where return_value truncates the double result to int? <p>vorbis-spec-codebook.html * introduce the variable codebook_c...
2006 May 10
2
Codebook decoding help
...a certain time we have to decode the codebook_lengths but this does not work. We followed the instructions in the Vorbis 1 specification script (chapter 3 - Codebooks) but we didn't understand, how it works. So, what we can do is: - reading the 24 bit sync-pattern (0x564342) - reading the 16 codebook_dimensions - reading the 24 codebook_entries Afterwards the script says: "Next read the ordered bit flag" and so we read the 8th byte containing the ordered bit-flag. byte 8: [ x] [ordered] Now the script says: "If the ordered bit is unset do that, if it's set than to that...