Getting the spectrum...

Started by WiESi, March 22, 2005, 10:59:20

Previous topic - Next topic

WiESi

Hi!

I have problems getting the spectrum. I already tried FSound.FSOUND_DSP_GetSpectrum() which seemed to work but I have trouble getting out the data of the returned FloatBuffer. Please help.

WiESi

Matzon


WiESi

Thx, I forgot to activate the FFT unit (OK, actually I didn't know I have to).

WiESi

WiESi

Now I have another problem. When I decrease the volume the values of the spectrum drop down too. How do I prevent this effect?

WiESi

Matzon

you increase the fft values artificially relative to the volume ?

WiESi

But when the volume becomes 0, the values become 0 too.

Matzon

hmm, best take it to the fmod.org borads then :)

WiESi

Seems to be complicated, here's the solution if someone's interested: http://www.fmod.org/forum/viewtopic.php?t=4003

WiESi