someone know way for better implemenation?

Sep 16, 2011 at 8:31 PM

I am a big fan of this libary and just wrote a few classes for controlling a live stream with an fft implemationen. It is working but the fft doesn t look very nice. It looks like it lags a lot.

I made a few tests about the speed but render function just takes (average) 1.2ms. And every (average) 20.9ms a new fft result is calculated.
So i have no idea why it lags. But the problem is, it looks like.

So I made a few tests with bass.dll and this one works very very nice.
I updated the visualation every 45ms and the result was more then nice. But how can I implement that?

Another thing i notized is that bass.dll has not as heavy steps as naudio. If I am using your fft agregator class and the calculated input from the wavechannel32 on sample evnet I have big "steps" in the visualation. That means from update to update the values of the bars I draw are from 0 - 200.
But in bass.dll they don t do something like that. Because if I have a value of 0 and 20ms later a value of 200 and another 20ms later a value of 10 it looks very bad...


So someone knows a good algorithm to draw a really nice fft Visualation?

Oct 10, 2011 at 8:45 PM

done it now look at