Hello Guest

Getting the spectrum...

  • 7 Replies
  • 24045 Views
*

Offline WiESi

  • **
  • 70
Getting the spectrum...
« on: March 22, 2005, 10:59:20 »
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

*

Offline Matzon

  • *****
  • 2242
Getting the spectrum...
« Reply #1 on: March 22, 2005, 11:24:15 »

*

Offline WiESi

  • **
  • 70
Getting the spectrum...
« Reply #2 on: March 22, 2005, 18:09:59 »
Thx, I forgot to activate the FFT unit (OK, actually I didn't know I have to).

WiESi

*

Offline WiESi

  • **
  • 70
Getting the spectrum...
« Reply #3 on: January 06, 2006, 18:13:39 »
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

*

Offline Matzon

  • *****
  • 2242
Getting the spectrum...
« Reply #4 on: January 07, 2006, 00:34:25 »
you increase the fft values artificially relative to the volume ?

*

Offline WiESi

  • **
  • 70
Getting the spectrum...
« Reply #5 on: January 07, 2006, 09:00:42 »
But when the volume becomes 0, the values become 0 too.

*

Offline Matzon

  • *****
  • 2242
Getting the spectrum...
« Reply #6 on: January 07, 2006, 09:16:49 »
hmm, best take it to the fmod.org borads then :)

*

Offline WiESi

  • **
  • 70
Getting the spectrum...
« Reply #7 on: January 07, 2006, 11:50:13 »
Seems to be complicated, here's the solution if someone's interested: http://www.fmod.org/forum/viewtopic.php?t=4003

WiESi