Main Site Documentation

RLP - rlp FFT


#1

[title]rlp FFT[/title]
http://code.tinyclr.com/project/448/rlp-fft/
[line]
Fast fourier transformation, max readable frequency 5000 Hz.


#2

Great. The first FFT project on codeshare. Thanks for sharing. I will sure sure this in future.


#3

Can you tell us more about what the code exactly does? Guessing from reading the source, I would say ReadAudio returns the peak frequency.

Can you time how long a single call to ReadAudio takes? (you can use Environment.TickCount for time measurement)


#4

Windowing function represents Hamming window over sampling data. Fft function receives two arrays as parameters. First is array of sampled real values and second is empty imaginary array. Result is one array with combined values derived with Cooley–Tukey algorithm. GetFundamental function is the simplest, it computes dominant frequency using index of largest element and sampling frequency. I will measure time needed for one call realisation when I find time. I’m also curious. But I’m bit preoccupied right now. …