advancedfx: Sounds inconsistently recorded to the .wav file?

Hello! The sound timings for separate audio events like gunshots for example are off in some cases. Multiple gunshot sounds put into one audio frame it sounds like.

Seems to depend on host_framerate and the playback speed/render speed. I’m doing these basic commands + everything in the smoother demo guide and more.

host_timescale 0
mirv_snd_timescale 1
host_framerate 60

Started to notice this when render speed is close to realtime and host_framerate is 60.

I don’t know the exact cause is so it’s hard to consistently produce good/bad results. What else can i look for?

Comparing 4 different runs on the same part of the demo: image

Attaching a worst case example (bottom one in the above image, example at 3-6s and more at 50s+) There’s also a good case example for it in there. soundcheck.zip

Also understand if it’s the built in wav recorder for csgo that’s causing the issue. In this case, is there anything i can do to mitigate this issue except for recording at a higher framerate?

Another thought i had was fluctuations in the render speed over the recording period - could that affect it?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 35 (21 by maintainers)

Most upvoted comments

Please leave the issue open, I will try to reproduce the issue one more time (we got one a complaint about s.th. similar a while ago and were not able to reproduce it back then).