Changing Music Voume
ookami007
Member Posts: 581
I created a music slider that works well... it actually gets a variable and sets the device-audio-musicvoume, which I verified by having a text field display the value.
The only problem is... the music volume doesn't actually change. Must I stop and start the music for it to take affect?
Comments
Are you sure it's a music file (.m4a) and not a sound file (.ogg)?
Yes... you can't even select an ogg file to play as music.
I can't seem to change the volume of the music in any way... is this a bug with the current Windows version?
The value range that the volume attribute operates in is 0 to 1, what is the value range that is being displayed in the text field display ?
No sound bug that I'm aware of. And like @Socks said, the range is 0-1 for the volume, so the increments would be decimal points - .1, .2, .3, etc.
It's basically 0 to 1. The slider is setup to do floor(position.x - sliderMin)/(slidermax-slidermin).
This is showing values of 0 - 1.
@ookami007 you need to tag @socks in your reply in order for him to know you have replied. Simply put a "@" symbol in front of his or anybody else's name to tag them in a post. Without this your reply may go unnoticed.
Thanks @gingagaming - I'll have to mention @socks next time. I just tried hard coding the music volume to .2 before starting the play music and it still plays at full volume.
Something must be bugged with Windows Game Salad.
When I try the nightly build... it doesn't play at all - or at least, I can't hear it... and the game function seems to be broken, so I can't test my menu.
I have the same problem. I simply use change attribute to change music volume to 0 or any value between 0 to 1 but nothing happened, the music volume is the same.
Go Download "Sub Run" in App Store.
@ookami007, did you solve this problem?
Go Download "Sub Run" in App Store.
@ookami007 @liux2355 are you both using GS on windows or Mac?
Never solved my problem. Still having the same issue... but since there's been no new version for the Win GS, I didn't expect it to be solved yet.
Music is controlled using the music volume not sound. At least in Mac creator. Plus be sure the file was imported as music.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS