[vorbis-dev] mdct question

Segher Boessenkool segher at wanadoo.nl
Sun Oct 22 17:04:46 PDT 2000



Hi Dave, list,

"Dave, Anish" wrote:
> 
> Hi,
> 
> Can someone tell me which MDCT and invMDCT equation uses?  I implemented the

It just a normal shifted mdct, like the one used in mpeg layer 3.
it's equations are:

(time domain: a_j, freq domain: b_k; w_j is the window)

forward:

b_k = sum(j=0..4N-1) a_j * w_j * cos( (2k+1)(2j+1+-N) / 8N )

a_j = w_j * sum(k=0..2N-1) a_j * cos( (2k+1)(2j+1+-N) / 8N )

where +- means: I'm not sure whether it is + or -, but I think it is +
(forward as well as backward).

k is 0..2N-1, j is 0..4N-1.

Ciao, hope this helps,

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