Hi everyone!
I've been trying to make some kind of a music game on Godot for some time now, and I'm really stuck on something, so for short:
I have a sample player that... well... plays a sample, that part is fine,
the problem is,
when I try to change the sample player volume, the change doesn't apply until the sample player plays again, not while the sample is being played.
I've noted that it is possible to change the stream player volume on the fly (with StreamPlayer.setvolumedb), but I'm not able to do so with the sample player (with SamplePlayer.setvolumedb), and both classes have methods to change the volume.
My question is: Can I change the volume of the sample player on the fly by any means?
Is there a function/method I'm missing to work that out?
Also, but not that important for now:
I've experienced problems with sound while having LLMS(Linux Multi Media Studio) open, being more specific, having the audio settings for outputlatency under 30 or something makes all the audio output to be fuzzy and noise-like, but closing LMMS or, in some extreme cases, restarting pulseaudio from terminal seems to fix the problem.
Right now I have the output_latency on 15 and I have no problems, without opening LMMS.
I don't know if this is something related to drivers or not, I haven't tested it on windows for now, but it should work just fine.
BTW: I'm using Godot 2.0 Stable, on Ubuntu 15.04 64 bits
Sorry for my English and Thanks in advance!!!