Skip to content
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

Sound playback can glitch when played back at lower volume levels #3054

Closed
Silver-Streak opened this issue Sep 16, 2021 · 2 comments · Fixed by #3210
Closed

Sound playback can glitch when played back at lower volume levels #3054

Silver-Streak opened this issue Sep 16, 2021 · 2 comments · Fixed by #3210
Assignees
Labels
🐛 bug This is a bug impacting users

Comments

@Silver-Streak
Copy link
Collaborator

Describe the bug

This appears to be a resurfacing of #2490

Omar on the forums reported that they were getting weird audio popping when sound files were played rapidly in their project. https://forum.gdevelop-app.com/t/sound-bug-since-version-107-till-117/35041/

I created an example project to try and test this out, but could not reproduce the issue.

Others were able to reproduce the issue with their project, and the impacted user was able to reproduce the issue with my project.

My best guess is that something in the audio code is getting overloaded at some point, because the sound files have to be played very rapidly for about 20-30 seconds before it occurs.

Here's a video of it occurring with their example project. You can see the audio level blip near the end.
https://streamable.com/hameau

To Reproduce

Steps to reproduce the behavior:

  1. Load their example project.
  2. Run the preview
  3. Rapidly press the 1 and 2 keys for 20-30 seconds.

Here is Omar's example project (I cleaned up some bad resource paths and other issues)
SoundBugExample.zip

I've also included a copy of my example project.
Audiotest.zip

I have also tested their project by having proper preloading via resources rather than via events.

Other details

  • Windows 10 Pro 64 bit
  • B117
@Silver-Streak Silver-Streak added the 🐛 bug This is a bug impacting users label Sep 16, 2021
@AtomicCrocStudios
Copy link

I'd like to add my example as well as the glitching is much more clear then the example provided by Silver-Streak.
https://www.youtube.com/watch?v=JcrXatuTFg0

@ClementPasteau
Copy link
Collaborator

This should be addressed in #3210 and will be released soon 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug impacting users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants