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

[4.3 RC 1] AudioStreamPlayer does not work correctly during web export #94761

Closed
SkanerSoft opened this issue Jul 25, 2024 · 9 comments
Closed

Comments

@SkanerSoft
Copy link

SkanerSoft commented Jul 25, 2024

Tested versions

Godot 4.3 RC 1

OpenGL API OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium)) - Compatibility - Using Device: WebKit - WebKit WebGL

System information

Linux Ubuntu 22.04

Issue description

The following issues occur with web export:

For a sound that has been played at least once, the "playing" variable is always true.
The volume of individual channels does not work correctly. Randomly it SOMETIMES works as configured and SOMETIMES the volume settings are ignored.

In the minimal project this is clearly visible; I tried to comply with all the conditions under which this occurs.

Steps to reproduce

  • Add multiple AudioStreamPlayers to the scene
  • Add them WAV sounds and OGG Music
  • Launch them
  • Check the playing status

In addition, the "finished" signal is not called either.

Minimal reproduction project (MRP)

audiodemo.zip

Bugsquad edit: relates to #94226

@SkanerSoft
Copy link
Author

View in Browser: https://pn-games.com/play/test_audio/

See Debug Console.

@adamscott
Copy link
Member

@SkanerSoft I don't know why you're saying that the master bus is ignored on the web export, it is not.
Here's the proof: audiodemo-with-slider.zip

@SkanerSoft
Copy link
Author

image

I'm sorry, I just phrased it wrong. I didn't mean Master, its Music. Sometimes the reduced volume is ignored. In my minimal example, I misspelled Master. It was necessary to write Music.

Otherwise, you can download my example and see for yourself.

@SkanerSoft
Copy link
Author

This doesn't bother me as much since in my project the volume is the same for all sounds. But the problem with the fact that I can’t get them to finish and start again is really critical.

@SkanerSoft
Copy link
Author

I'll try to keep track of this situation and report back as soon as I can figure out a pattern. This is indeed a rare occurrence and probably deserves its own bug report.

@SkanerSoft
Copy link
Author

I crossed out the unnecessary things that are not worth paying attention to. The rest needs fixing. Thank you for taking the time to do this! For me, there is no one who can help the way Godot developers do. This is a colossal job!

@adamscott
Copy link
Member

Closing issue as it's a duplicate of closed #94226. I'll reopen the later as #94268 had a typo that prevented the fix from working.

The next time, please comment and ask to reopen a closed issue if the fix doesn't fix it instead of reopening a new issue with the same bug.

@adamscott adamscott closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
@adamscott
Copy link
Member

image

I'm sorry, I just phrased it wrong. I didn't mean Master, its Music. Sometimes the reduced volume is ignored. In my minimal example, I misspelled Master. It was necessary to write Music.

Otherwise, you can download my example and see for yourself.

I can't reproduce. If I set "Music" to -Infinity, the music is muted. And it sounds exactly as the desktop version.

@SkanerSoft
Copy link
Author

I can't reproduce. If I set "Music" to -Infinity, the music is muted. And it sounds exactly as the desktop version.
I'll pay more attention to this in the future! The rest of the questions are all clear, thank you very much for your work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants