-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samples stutter / miss beats when game is not focused #20747
Comments
Further experimentation: I could reproduce this on any map I tried (10 or so),
|
This is intended afaik as the game reduces fps on all threads including audio when unfocused, the same happens in gameplay with hitsound if you unfocus the game |
Is it really intentional that the game misses metronome clicks and hitsounds if it's unfocused? I think it would be better to just play them a bit late or early, if that's feasible. |
This also happens when game is running low on FPS. |
You're welcome to tweak the algorithm and see how it feels. You may then find that the reason for it not being done is that it sounds worse playing random out-of-time sounds as opposed to not playing at all. Changing to test it out is a very simple code change. |
Type
Cosmetic
Bug description
If the lazer window is unfocused, the metronome from the editor's Timing screen sometimes misses beats. I'm not sure if it's related, but the metronome also seems to fall behind over time. If the window is focused, everything is running fine.
I also played around with the frame limiter; it doesn't make a difference.
Screenshots or videos
Initial D - Running In The 90's
Missed beats 14 (00:05), 21 (00:09), 42 (00:16):2022-10-13.16-04-55.mp4
Stellamaris - Stage of Star
Missed beats 24 (00:08), 48 (00:15), 63 (00:20), 76 (00:24), 89 (00:28):2022-10-13.16-13-20.mp4
Version
2022.1008.2
Logs
Initial D - Running In The 90's
network.log
performance.log
runtime.log
updater.log
Stellamaris - Stage of Star
network.log
performance.log
runtime.log
updater.log
The text was updated successfully, but these errors were encountered: