+1 vote

I'm not sure if this is a bug. And honestly, with me, it most likely isn't since I'm learning new stuff all the time.

But, I have a SamplePlayer and have a fireball effect. I set my main volume using
GamePlayer.set_default_volume(0.25)

And when my Polyphony is set to 1 (default), the audio is fine.

But, when I set Polyphony to around 5 or 20 (doesn't matter), the get_default_volume() still returns 0.25, but the audio is greatly increased.... Not sure why is there another method I'm missing?

in Engine by (308 points)

Maybe you are playing the sound multiple times simultaneously. Or it is, as you've stated out, a bug.

It's not intended behavior then right? Cause I am playing it once, but should I make a bug report then?

If you are sure that you are playing the sound only once, it would be great if you can submit a bug report on github.

Alrighty. Yeah, I checked for sure, it is. I will submit br ty

Ugh oh.. I just created a sample in a new project and it doesn't raise the volume. Must be my own project settings... crap lol

ROFL! You were right. I was playing it twice. There was a stupid play call hiding inside my _ready function! Haha, wow. (instancing a scene too)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.