Hotfixing volume vs. sound power setter which leads to heavily clipping gains of…

Hotfixing volume vs. sound power setter which leads to heavily clipping gains of the sound source signal in rendering
parent 1349e4b4
......@@ -64,7 +64,7 @@ public class VAUSoundSource : MonoBehaviour
{
// Set gain control once
_VA.SetSoundSourceMuted(_ID, GetComponent<AudioSource>().mute);
_VA.SetSoundSourceVolume(_ID, GetComponent<AudioSource>().volume);
_VA.SetSoundSourceVolume(_ID, GetComponent<AudioSource>().volume * 31.69e-3 ); // Now SoundPower: 31.67 mW -> 94 dB SPL @ 1m
// Create and connect audio signal source
if (GetComponent<AudioSource>().clip)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment