0
0

Hi,
i have some questions.
1.) Is it possible to get the total output volume? Not the volume which is set in getVolume.
2.) How can i get the value of a Freq? E.g 43Hz and 86Hz

Thanks a lot…..
Nico

  • You must to post comments
0
0

I’m going to make some assumptions here, which I’ll state.

Since you’re asking about total output volume, I assume you’re talking about 3D sounds, which could be attenuated, obstructed, occluded, etc. The function you want to look at is:
FMOD::Channel::getAudibility()

Now, with frequency there’s two places to get that, which could provide you with slightly different results. Have a look at:
FMOD::Channel::getFrequency()
and
FMOD::Sound::getDefaults()

The former will get the actual playing frequency of the sound, so if you set up any frequency variations through FMOD::Sound::setVariations(), or if you explicitly set the frequency through FMOD::Channel::setFrequency(), then that’s what that will return. The latter will give you the actual frequency of the file (by default), or whatever value you give it through FMOD::Sound::setDefaults().

Hope I’ve been of some help.

  • Guy
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.