[vorbis-dev] Dot Product

Christian Wassmer chwassme at student.ethz.ch
Wed Feb 18 09:20:45 PST 2004



Hello

 From the official Ogg-Vorbis-Documentation (Dot Product):

---
For each channel, synthesize the floor curve from the decoded floor 
information, according to packet type. Note that the vector synthesis 
length for floor computation is [n]/2.

For each channel, multiply each element of the floor curve by each 
element of that channel's residue vector. The result is the dot product 
the floor and residue vectors for each channel; the produced vectors are 
the length [n]/2 audio spectrum for each channel.
---

<p>I don't exactly understand what they mean by "multiply each element of 
the floor curve by each element of that channel's residue vector"? 
Supposing one channels floor vector is (3,2,1) and the according residue 
is (1,0,2), the resulting "dot-producted" vector will be (3,0,2)? 
However, that's how I've implemented but it seems to be wrong. So what't 
the correct interpretation of this dot-product?

Thanks in advance!
Christian Wassmer

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