0
0

1) Is there a way to adjust the volume of a stream (Or any way of playing sound for that matter)?

2) Is there any way to have FMOD find how much bass is in a sound at any given time? I want to write a simple bit of coding that will make speakers on the screen “thump” in and out like in real life, no matter what song is loaded.

  • You must to post comments
0
0

1)FSOUND_SetVolume
You can use it on the channel returned from FSOUND_Stream_Play.

2)Get the spectrum :
In Visual Basic you can use GetSpectrum,
In C,… you can use FSOUND_DSP_GetSpectrum.

This will return you an array of numbers, when you average the first few values of it you have the volume of the bass.

  • You must to post comments
0
0

What is the usage of the FSOUND_DSP_GetSpectrum in Visual Basic? Do I put an array name in parentheses after that, like F_FLOAT_API * F_API FSOUND_DSP_GetSpectrum(ArrayName)?

The help file doesnt really make that clear.

  • You must to post comments
0
0

Yes, but because this is difficult if you don’t know much about VB, I’ve added the GetSpectrum function which uses FSOUND_DSP_GetSpectrum and does the copying for you.
Just pass it an array of Single’s.

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.