Fmod volume randomization calculation

Hey,

I’m porting an fmod designer .fdp file and need some clarification an some values.

volume_randomization:
Range: -60db -> 0db

So how does Fmod use this value?

Example:
Volume: 10db
Volume_Randomization: -30

randomValue = random(0, -30)
volume = Volume + randomValue

OR

randomValue = random(+30, -30)
volume = volume + randomValue

The same question also for pitch_randomization.

Thx alot

Hi,

Using the example you provided, the volume would be a value between -20dB to 10dB.

Pitch works differently and uses the second approach. So if the current pitch is 0 semitone with a pitch_randomization of 5 semitones, the ouput would be a value between -5 semitones (lower pitch) and 5 semitones (higher pitch).

1 Like