What causes weird cracking/popping sound when playing 3d sound
Asked Answered
U

2

0

I am having a problem where when I spawn a prefab with an AudioSource, the sound it makes is distorted/pops when it firsts starts playing. After a half second it plays as normal. The sound clip should just be a constant humming sound

Does anyone know how to set this up so I don’t get this cracking sound? (I can’t tell if this is distortion or an artifact of 3d sound or what). I’ve tries using different audio clips and I am still getting this problem.

Unity Version: Unity 2018.3.4f1

Video demonstrating the issue: 2019-02-07 01-13-17

AudioSource Settings: 132796-capture.png

Unsparing answered 19/12, 2023 at 1:3 Comment(0)
S
0

Sounds like clipping is occurring. Maybe you unintentionally start more than one clip, so that they together get too loud. Or that it is too loud to begin with. Volume 0.082 speaks against that… Does this still happen if you move the missile start to be at where it was after 0.5 sec in the original setup… does it sound ok from the start then?

Streptothricin answered 11/2, 2019 at 12:29 Comment(1)

have you tried to instantiate the source first then add the clip to the source after its been created then making it play and not play on awake? maybe nute volume of source when no clip is active and restore it once a clip isPlaying. this could all be removed again, its to see if the clip or the source is the cause of the unwanted sound.

Adnopoz
D
0

I had the same problem, but after deleting the audio reverb filter on my object and changing it to an audio reverb zone the popping is gone. Maybe it will help someone

Didymium answered 18/12, 2023 at 20:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.