Author Topic: lower music volume  (Read 1695 times)

bart_xs

  • Trial Wannabe
  • Posts: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 42.0.2311.135 Chrome 42.0.2311.135
    • View Profile
  • Playstyle: Keyboard
lower music volume
« 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.

infern0man1

  • ~(=^・ω・^)ψ
  • Global Moderator
  • Oatmeal Killer
  • Posts: 1.021
  • Dear sir stroke madam, fire exclamation point
  • OS:
  • Windows Vista/Server 2008 Windows Vista/Server 2008
  • Browser:
  • Chrome 42.0.2311.135 Chrome 42.0.2311.135
    • View Profile
    • Twitter
  • Playstyle: Keyboard
Re: lower music volume
« Reply #1 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.

ilvpag

  • Guest
Re: lower music volume
« Reply #2 on: May 12, 2015, 08:09:52 PM »
Download audacity 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) 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).

bart_xs

  • Trial Wannabe
  • Posts: 6
  • OS:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 42.0.2311.135 Chrome 42.0.2311.135
    • View Profile
  • Playstyle: Keyboard
Re: lower music volume
« Reply #3 on: May 12, 2015, 09:35:59 PM »
Thanks guys, the audaccity worked for me :)