This project has moved. For the latest updates, please go here.

FFT Spectrum

Feb 9, 2010 at 1:22 AM

Hi,

I want a Spectrum Analyzer for a music player that I want to develop. I came across NAudio, I tested the FFT and made a bar animation. But, why the left side is too high?

The image below describes what I'm talking about. I use the same code from SpectrumAnalyser.xaml.cs and a YScale of 6000.

http://picasaweb.google.com/lh/photo/QCgu_dZXCsPneIHfrku0mQ?feat=directlink

How can I make the visualization more even?

Thanks.

Coordinator
Feb 9, 2010 at 2:10 PM

I've noticed that as well. I must admit the FFT was thrown in at the very last minute before a demo I was doing, and I never got round to investigating the cause of the high values on the left-hand-side. One suggestion I heard was that the presence of a DC offset can cause this, so perhaps a high-pass filter would help things along a bit.

Mark