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

AudioStreamRandomizer.random_volume_offset_db not working #82469

Closed
Tracked by #76797
thalestale opened this issue Sep 28, 2023 · 2 comments · Fixed by #82478
Closed
Tracked by #76797

AudioStreamRandomizer.random_volume_offset_db not working #82469

thalestale opened this issue Sep 28, 2023 · 2 comments · Fixed by #82478

Comments

@thalestale
Copy link

Godot version

Godot v4.2dev5

System information

Godot v4.2.dev5 - Windows 11- GLES3 (Compatibility) - NVIDIA GeForce GT 1030 (NVIDIA; 31.0.15.3742) - AMD 4700S 8-Core Processor Desktop Kit (16 Threads)

Issue description

AudioStreamRandomizer's random_volume_offset_db does not make any audio volume variations playing an WAV file through an AudioStreamPlayer.

Steps to reproduce

  • Create an AudioStreamPlayer node
  • Load an AudioStreamRandomizer
  • Load an WAV file
  • Set Volume Offset to any value

Playing it gives the same audio level everytime

Minimal reproduction project

ASRandomizer Bug.zip

@jsjtxietian
Copy link
Contributor

jsjtxietian commented Sep 28, 2023

Confirmed. Looks like the value is set but not used when play the audio. I will try to fix it.

@thalestale
Copy link
Author

thalestale commented Sep 28, 2023

I don't know if it's worth mentioning, but I also checked the stable Godot v4.1.1 and the issue is also occuring there.
Fixing it to the next maintenance release would cause some confusion, since the default value is set to 5dB and suddenly will start to work.

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

Successfully merging a pull request may close this issue.

3 participants