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 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.
Please login first to submit.