How do I get the average volume of an audio file?


#1

I want to get the volume of the audio file and play it at the volume I want.Does FMOD provide such an interface?


#2

The FMOD API uses a multiplier (eg. 0-1) for setting the volume, with 1 being the original volume, you can set it above 1 to amplify the volume but increasing the signal level too far may cause audible distortion.

Normally this is better done inside the FMOD Studio Tool.