Audio crackles and pops on one scene and only for monitoring

Fonzie

New Member
Hi, I have a scene where I have an audio file playing as background music (My ending screen in the logs, playing Fedia- HeOff!). When I switch my scene to that one in particular, the audio crackles only for myself through monitoring, and not through my stream/recording. The crackling goes on for the very first 1-2 seconds and then the audio continues on like normal. It only happens to that one scene, and no other ones with music + audio monitoring enabled, and the file plays fine outside of OBS as well. I've tried updating GPU drivers, audio drivers, setting all my sample rates to 48 khz (The same as my headset), updating OBS, uninstalling my virtual audio cable (I thought that might've been messing it up, turns out it wasn't), running OBS as admin, and redownloading the audio file. I'm not sure what to try next, if anyone could help me out with this issue that would be much appreciated!

Here's my logs as well: https://obsproject.com/logs/NE_T-sHigS0RR2P_
 

konsolenritter

Active Member
Hi Fonzie,

welcome aboard! Interesting to see that the background music (in opposite to the others) is WAV format, hence uncompressed, large file. (By the way: it shouldn't relate to your gpu drivers at all. Reading audio into memory and playing is either part of the audio engine (audio source handler) or handled as an external vlc source and (in both ways) processed completely by the cpu instead of the gpu.

Does the crackling happen even if you start the scene the second or third time while OBS is running?
If you can, mp3 this file and switch the source in that scene to the mp3 file instead. Report if something changes.

Do you make a hard cut between scenes, or is it a smart fade to the ending scene? The output handler handles audio in between scenes finer than the (rough) monitoring bus.

If the scene before the ending scene contains demanding sources like capturing that has to be ended/unloaded by OBS directly after the scene switch, this requires cpu resources and may disturb the audio calculations. For the stream or recording the buffering helps alot, while the buffer of your monitoring (your soundcard or phones this very moment) goes low very fast (due to the fact its playing "live" for you).
 
Last edited:

Fonzie

New Member
Hi Fonzie,

welcome aboard! Interesting to see that the background music (in opposite to the others) is WAV format, hence uncompressed, large file. (By the way: it shouldn't relate to your gpu drivers at all. Reading audio into memory and playing is either part of the audio engine (audio source handler) or handled as an external vlc source and (in both ways) processed completely by the cpu instead of the gpu.

Does the crackling happen even if you start the scene the second or third time while OBS is running?
If you can, mp3 this file and switch the source in that scene to the mp3 file instead. Report if something changes.

Do you make a hard cut between scenes, or is it a smart fade to the ending scene? The output handler handles audio in between scenes finer than the (rough) monitoring bus.

If the scene before the ending scene contains demanding sources like capturing that has to be ended/unloaded by OBS directly after the scene switch, this requires cpu resources and may disturb the audio calculations. For the stream or recording the buffering helps alot, while the buffer of your monitoring (your soundcard or phones this very moment) goes low very fast (due to the fact its playing "live" for you).
Thanks for the suggestions! Yes, the crackling does still occur after multiple scene changes (and also if I pause and unpause the music), and I tried to convert the file to mp3 and nothing changes unfortunately as well. For the transition into the scene I use a luma wipe, and if I use a black screen with nothing added to sources instead of a scene with a bunch of sources in it, the issue still occurs. Is there anything else that I can try?
 

konsolenritter

Active Member
Not for the moment. Sorry. :)

Just to understand you right: For the change from scene A to B (with B containing the music) you've reduced scene A to black, right?
 

Fonzie

New Member
Not for the moment. Sorry. :)

Just to understand you right: For the change from scene A to B (with B containing the music) you've reduced scene A to black, right?
No problem! And yes, just completely black with no extras added (Like background, music, gifs, camera, etc.)
 
Top