FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-2005, 01:33 PM
coolup
Guest
 
Posts: n/a
Default Frequency Inversion in MP3

hi All
In MP3 encoder algorithm, after the PQMF filtering, there is a step in
which the odd samples in odd subbands are multiplied by
-1. After this the MDCT is applied. Does any one here have any idea why
this is done.
I think it will invert the frequencies, that is lower
frequencies become higher and vice versa. But why is it done I don't
understand. Thanks for any replies.

Reply With Quote
  #2 (permalink)  
Old 10-31-2005, 04:01 PM
Jim Thomas
Guest
 
Posts: n/a
Default Re: Frequency Inversion in MP3

coolup wrote:
> hi All
> In MP3 encoder algorithm, after the PQMF filtering, there is a step in
> which the odd samples in odd subbands are multiplied by
> -1. After this the MDCT is applied. Does any one here have any idea why
> this is done.
> I think it will invert the frequencies, that is lower
> frequencies become higher and vice versa. But why is it done I don't
> understand. Thanks for any replies.
>


In effect, multiplying odd samples by -1 is the same as (efficiently)
multiplying the sequence by 1,-1,1,-1,...

That is, muliplying by a cosine wave whose frequency is fs/4, where fs
is the sample rate.

In short, it's a mixer.

--
Jim Thomas Principal Applications Engineer Bittware, Inc
[email protected] http://www.bittware.com (603) 226-0404 x536
Today is the last day of your life so far.
Reply With Quote
  #3 (permalink)  
Old 10-31-2005, 05:39 PM
coolup
Guest
 
Posts: n/a
Default Re: Frequency Inversion in MP3

Jim Thomas wrote:
> coolup wrote:
> > hi All
> > In MP3 encoder algorithm, after the PQMF filtering, there is a step in
> > which the odd samples in odd subbands are multiplied by
> > -1. After this the MDCT is applied. Does any one here have any idea why
> > this is done.
> > I think it will invert the frequencies, that is lower
> > frequencies become higher and vice versa. But why is it done I don't
> > understand. Thanks for any replies.
> >

>
> In effect, multiplying odd samples by -1 is the same as (efficiently)
> multiplying the sequence by 1,-1,1,-1,...
>
> That is, muliplying by a cosine wave whose frequency is fs/4, where fs
> is the sample rate.
>
> In short, it's a mixer.
>
> --
> Jim Thomas Principal Applications Engineer Bittware, Inc
> [email protected] http://www.bittware.com (603) 226-0404 x536
> Today is the last day of your life so far.



Thanks for your reply Jin. I think the frequency of the
signal is fs/2, not fs/4.
But what I wanted was why is it done.
Why can't MDCT can be taken directly?

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
C-source of matrix inversion lanbaba DSP 12 11-03-2005 06:42 PM
inversion of a matrix Henrietta Denoue DSP 16 09-02-2005 11:50 AM
Frequency inversion using an FFT? Shafik DSP 13 10-04-2004 11:05 PM
Is Matrix inversion O(N^3)? Jaco Versfeld DSP 58 05-20-2004 12:23 AM
matrix inversion John DSP 1 02-05-2004 07:02 PM


All times are GMT +1. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved