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 beta 3] AudioStreamPlayer does not work correctly during web export #94226

Closed
SkanerSoft opened this issue Jul 11, 2024 · 5 comments · Fixed by #94268 or #94800
Closed

[4.3 beta 3] AudioStreamPlayer does not work correctly during web export #94226

SkanerSoft opened this issue Jul 11, 2024 · 5 comments · Fixed by #94268 or #94800

Comments

@SkanerSoft
Copy link

SkanerSoft commented Jul 11, 2024

Tested versions

Godot 4.3 Beta 3

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

There are the following problems with web export:

  • For a sound that has been played at least once, the playing variable is always true
  • It is impossible to set the volume of audio channels, even Master
  • Cannot add effects to channels (they are ignored)

Steps to reproduce

  • Add an AudioStreamPlayer node to the scene
  • Add WAV sound to it
  • Play sound
  • Check the $node.playing variable for the sound, it will be true even when the sound stops playing.

Minimal reproduction project (MRP)

audiodemo.zip

Bugsquad edit: added the MRP

@adamscott

This comment was marked as resolved.

@SkanerSoft

This comment was marked as resolved.

@adamscott
Copy link
Member

  • Cannot add effects to channels (they are ignored)

For this, this is as designed for the moment. There will maybe be a way to implement basic effects, but custom ones are out of the question. If you need badly effects, you'll need to use streams instead.

@anniryynanen
Copy link
Contributor

#94269 may fix some of these issues.

@adamscott
Copy link
Member

Reopening as #94268 had a typo that prevented the fix to work.

#94800 should fix the issue.

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