More help with FFT >> FORUM
Auto Forum

Auto Forum



SearchSearch   Users   Registration   Entrance
Today: 05.12.2025 - 08:30:34
Pages:  1  

More help with FFT

MessageAuthor

Sorry for being such a noob, but I really need some help with WDL fft. From what I have gathered, if you do a complex DFT with N samples on a function with a defined real part in the time domain and with the time imaginary part zero, in the frequency domain you get the spectrum data in bins 0 through N/2 of both the real and imaginary parts (they are equal, I think) with the frequency of the bins from 0 to N/2 equal to the sample rate times the bin number divided by the FFT size. The bins N/2+1 to N-1 represent the negative frequency spectrum, and for the real part N/2+1 is equal to N/2-1, all the way to N-1 being equal to bin 1. Using this info which I'm not positively sure of, I tried doing some processing but get no output. Code:




Armo95

register users




Statistics:
Messages: 4,564
Registration: 08.16.2003
26.05.24 - 20:02:27
Message # 1
RE: More help with FFT

Nobody, huh?




MKit

register users




Statistics:
Messages: 83
Registration: 10.30.2002
26.05.24 - 20:11:04
Message # 2
RE: More help with FFT

I haven't used the wdl fft, I guess what I'd check is: does it work just doing an fft then ifft? Is the scaling step needed? Does it work with a much simpler frequency curve (eg a straight line)?




Leemos

register users




Statistics:
Messages: 905
Registration: 08.30.2002
26.05.24 - 20:18:56
Message # 3
RE: More help with FFT

Update: I think I figured out that I need to permute the FFT'd buffer before I apply the EQ function and then I need to un-permute it before I do the inverse FFT, something like this (I think, but I'm really taking a pretty wild guess here): Code:




playboy

register users




Statistics:
Messages: 368
Registration: 09.02.2003
26.05.24 - 20:23:51
Message # 4
RE: More help with FFT

Alright, I think I actually got it. From what I have gathered, the pos freqs go from 0 to N/2 where N = fftsize. That means that the pos freqs have 2 more bins than the neg freqs, which go from N/2 + 1 to N - 1. Here's an example I did of a hard high-pass, which is located where the "//do processing on sortedbuffer here" is in the previous code segment: Code:




Mr Project

register users




Statistics:
Messages: 3,561
Registration: 09.18.2002
26.05.24 - 20:30:01
Message # 5
RE: More help with FFT
Next topic: volvo 940 estate on ebay
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

           
   
The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants