0
0

I’m not sure if I’m searching in the right places or not, but I can’t find the information I seek. (Or, it’s right under my nose, just I dont see it). :)

I’m in need of having multiple sound inputs (channels ?) and if possible, having different volume on the outputs of those channels.

Lets say that I have one channel called MP3, another called Navigation, and a third called Alert.
Now. I would want one volume for the MP3 while playing, a bit higher volume on the Navigation (to hear it over the MP3), and max volume on Alert to hear it over everything else.

PS I code in C# 2008 Express, and if anyone could point me in the right direction.. I would be very gratefull!

  • You must to post comments
0
0

Hi Crinos,

You are right, channels are what are used to play sounds. In your install directory there is an API reference "fmodex.chm" which shows you all the different functions, the reference is for C/C++ but we make an effort to make the C# interface as similar as possible. The particular function you’re looking for Channel::setVolume.

To control the volume level of multiple channels together you can add them to a ChannelGroup and the use the ChannelGroup::setVolume function.

-Pete

  • You must to post comments
0
0

[quote="PeterStirling":1oerttn2]Hi Crinos,

You are right, channels are what are used to play sounds. In your install directory there is an API reference "fmodex.chm" which shows you all the different functions, the reference is for C/C++ but we make an effort to make the C# interface as similar as possible. The particular function you’re looking for Channel::setVolume.

To control the volume level of multiple channels together you can add them to a ChannelGroup and the use the ChannelGroup::setVolume function.

-Pete[/quote:1oerttn2]
Thanx.. I have now figured out how to do this, and it works perfectly… 😀

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.