0
0

Hi,

my problem is that I need to do FFT per channel, not for all the playing sounds. It is possible? How? And if not, it is possible to get something, what is comparable with FFT in FMOD? Sorry for English and that I don’t know much about sounds and playing.

PS: Very important! Please, help me! Thank You!

  • You must to post comments
0
0

Hi,

is in FMOD some other function(than FFT) which gives me to know something about how the sound is playing(his “actual” amplitude, volume or something)?

Thank You.

  • You must to post comments
0
0

Yes, you can get the Amplitude of each channel:

FSOUND_GetAmplitude(int channel);

Stay Tuned,
Jens

  • You must to post comments
0
0

Hi,

but does the amplitude change during playing of sound?

  • You must to post comments
0
0

Hi,

I tried FSOUND_GetAmplitude(channel, where I was playing teh sound) and it returns me always a constant 70. But You says that it is a real-time variable.?

  • You must to post comments
0
0

I use FSOUND_GetCurrentLevels; to get the current level of a channel.
And you can do your own FFT by creating a DSP callback, like this:

[code:3aalvx4e]
void* dspcallback(void originalbuffer,void *newbuffer,int length,int param) {
// your_fft_and_beat_detection_stuff
}
...
FSOUND_DSPUNIT
dspUnit = FSOUND_Stream_CreateDSP(yourStream,&dspcallback,0,0);
FSOUND_DSP_SetActive(dspUnit, TRUE);
[/code:3aalvx4e]

  • You must to post comments
0
0

That’s right. Thank You very much!

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.