Page 1 of 1

Audio Issue Please look this project file

Posted: Sun Dec 13, 2015 4:34 pm
by ReAnimator
Hi,
I've created a tiny project which illustrates the issue currently I have.
As you can hear, volume level changes every time you play the game.
Please play several times to confirm.
It's pretty much random so I believe it's a bug.

Re: Audio Issue Please look this project file

Posted: Sun Dec 13, 2015 6:25 pm
by xela
Seems to be changing even on rollback and not always to the same level. Prolly some minor bug that came with recent volume per channel feature, you should prolly report this to the hub.

Re: Audio Issue Please look this project file

Posted: Sun Dec 13, 2015 7:36 pm
by ReAnimator
Thank you for your time and suggestion, xela!
I reported to the hub.

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 2:23 am
by ReAnimator
It seems to be solved regarding this case but I found another odd issue...
Please take a look. $renpy.music.set_volume obviously doesn't work here.
No matter what value you put, it doesn't sound correct...

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:15 am
by xela
Now you're just being silly, it is the first sound that keeps playing :)

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:36 am
by ReAnimator
No, no! I'm serious about this. I can hear sound_loop channel! Are you sure?

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:41 am
by xela
Yes.

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:44 am
by ReAnimator
You can't hear sound_loop channel??
It's the same audio file, but I can definitely hear it.

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:46 am
by xela
No you can't. You simply hear the first channel that you never stop... Stop using the "same" audio files, that bit once before already.

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 5:48 am
by ReAnimator
Can't believe it!
I stopped the first one, you still cannot hear??
What's wrong with me?!

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 6:01 am
by ReAnimator
Hmmm... Now I'm getting nervous... Is there anything I should look into??

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 6:04 am
by xela
Ah, you didn't stop the channel, you just had it to play without loop... this is prolly a bug. You actually cannot hear the second channel if you take your time even with your code and don't click through too fast. If you stop it, you never hear the second channel no matter what.

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 6:13 am
by xela
And it got something to do with the voice channel, this behavior doesn't occur on sound channel. I've never used voice channel before, I didn't even know that it was special somehow...

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 6:23 am
by ReAnimator
Thanks for confirmation! I was a bit hopeless.

I use voice channel a lot so this interferes other channels.
I haven't tried to stop voice channel before so this can be used as a resolution.
Again, thanks for suggestion!

Re: Audio Issue Please look this project file

Posted: Tue Dec 15, 2015 6:33 am
by ReAnimator
Yay! It works! Thank you, xela! You are a life-saver!