I’ve got a sound for an automatic laser gun, and when it fires in quick succession I get a small popping sound. Are there any tips/tricks to avoid this? I’m firing the FMOD event with soundEvent.start() and I tried adding a soundEvent.stop() (both with STOP_MODE.ALLOWFADEOUT and STOP_MODE.IMMEDIATE) before it it but that didn’t help.
mightypants (mightypants) #1
mightypants (mightypants) #2
I should add: this is Unity 4, Mac OSX.
nick1 (Nicholas Wilcox) #3
If you’re restarting the same instance over and over then you’ll get popping. If you’re laser gun event is a one-shot, trying using the FMOD_StudioSystem.PlayOneShot() function to spawn separate instances.