I Wanna Community

Fangames => Game Design => Programming Questions => Topic started by: bart_xs on May 12, 2015, 07:14:49 PM

Title: lower music volume
Post by: bart_xs on May 12, 2015, 07:14:49 PM
Im using Yuuutu's engine.

Is there a way to lower the volume of each sound file you have in Game maker? I have tried sound_volume(), but this doesnt work.
Title: Re: lower music volume
Post by: infern0man1 on May 12, 2015, 07:18:22 PM
There are two(?) options I know of for how to do this:


-SSound(?)
-Audacity


I'm not sure about what exactly SSound does, since I've never actually used it, but Audacity is useful for editing sounds and etc.
Title: Re: lower music volume
Post by: ilvpag on May 12, 2015, 08:09:52 PM
Download audacity (https://sourceforge.net/projects/audacity/files/latest/download) and import your audio file into it. Next go to edit > select > all (or just press CTRL+A) and then go to effect and you should see something that says "Amplify...". Click that and use the slider to set the new peak amplitude to a negative value (you can use the preview button so you don't have to keep opening this) until it sounds like it's a reasonable volume then click OK. After that go to file > export audio and save the audio file as an .mp3/.ogg (these are the formats that are used for actual music, but note that to export to .mp3, you'll need the LAME encoder which can be found here (https://lame.buanzo.org/Lame_v3.99.3_for_Windows.exe)) or you can save it as a .wav (this is the format typically used for sound effects/short sounds, NEVER use this format for full length songs, they will have a very large file size and can cause gamemaker to crash).
Title: Re: lower music volume
Post by: bart_xs on May 12, 2015, 09:35:59 PM
Thanks guys, the audaccity worked for me :)