[vorbis] some more Spec questions

Segher Boessenkool segher at koffie.nl
Sun Apr 27 19:14:13 PDT 2003



Sebastian Gesemann wrote:
> - AFAIK Vorbis uses MDCT transforms which will result in 'spectral-
>   vectors' of the length 1024 (for long blocks) and 128 (for short
>   blocks) at 44kHz, so I expected the two 4-bit exponents in the
>   identification header to be 7 and 10, but I found 8 and 11 in
>   my Oggs. So the "blocksize" values correspond to the nominal
>   window-length instead of the length of the 'spectral-vector' ??

Assuming windows are always exactly 2:1 overlapped, yes.  This is
an oversight, but just divide by 2 and you'll be fine.

>   I find it a bit confusing and inconsistent. (Compare to 'vorbis-
>   spec-intro.html': 64...8192 samples/frame)
>   I suggest adding a note for clarification.

Why don't you write a patch for the doc?  :-)

> Floor 0 format - header decode
> ------------------------------
> - Step 7: how could any of those values be less than zero
>   if i read them as unsigned integers ?

If you don't quote the relevant part of the doc, I can't answer this,
sorry.  Try again?

> Floor 0 format - curve computation
> ----------------------------------
> - What is [n] in context of the 'map_i = minimum { ...'-

Same here...

<p>Segher

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