Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Low File Size Music

A Tutorial for Counter-Strike: Source

Members see zero ads. Membership is 100% free

for your custom maps

Hello. This is a quick guide about:
- Getting a lower size for your sounds
- Good performance (because the volume is often reduced)
- Working sounds (when reducing the size with Audacity or others tools, you could come up with this error:
- - (*** Invalid sample rate (32000) for sound 'folder\sound.mp3')

What is needed ?

- Get Mp3Gain, a free tool. It increase the volume of the sound.
- Get Freemake Audio Converter, another free tool. It reduce the file size. 64 Kpbs is correct for CS:S.
- - Read everything when you are installing it, or it will add unwanted content on your computer.

Mp3Gain

Launch the tool.

Click on Add Files. Select the music you want.




I will myself use a music from SSB Wii U which is very big compared to its length (1:40 = 6 Mo...).

The music is now loaded, select it (click on it) and then click on Track Analysis.




It will display some informations. What we are looking for, is the Volume. We need to have a volume around 100.

You can either:
- set the Target "Normal" Volume to 100, 0 dB, and then click on Track Gain.
- or right click on the file and Apply Constant Gain, and then select how much you want to increase the Volume to. And click OK.


In both way, the Volume wont be exactly 100, so try to stay closer to 100.




You are done with Mp3Gain. Now we will use Freemake Audio Converter.

By the way, using Mp3Gain doesn't change the music size.

Freemake Audio Converter

Launch the tool.

Click on Audio. Select the music.




Information about your music will be displayed like for me:



You can see 48 KHz and 320 Kbps, this is way too much for a game like CS:S. 64 Kbps and 44100 Hz is enough.

By the way, I dunno why the music length displayed is 02:38, (the actual size is 1:37)


Click on the music, and on "MP3", it will ask you how to convert it.

Click on the actual profil, and make a custom one (sorry I don't have a picture in English :p ).



Use these Sample rate and Bitrate, and click on OK.




Set the directory you want, default directory will be your Music folder.

Now that you have your custom profil selected, you can click on Convert.

The conversion will start, it can take more seconds depending of the length of your music.



Now go in the Music folder (or the directory you selected). You will find a music with a lower size.

In my case, it's now 1,20 Mo.

6,04 Mo --> 1,20 Mo, its much better for your map size if you add a lot of custom sounds.


Why not use directly Freemake ???

Just try yourself, you will see that the volume of the music will be reduced if you compare.

It will be even worse in CS:S with all guns shooting.

A little trick

In case you don't know about it, you can allow players to enable/disable the music in their options.

Go to the Ambient_Generic. Click on Sound Name, the directory is displayed at the right of the window.




Add a # at the beggining of the directory like that:



People will be able to reduce the volume, or turn the music off in their Options.

Thanks for reading, I hope it will be useful for you :)

Comments

Sign up to access this!
  • access_time 3y
    Nice trick.

    In audacity you can change to 64 Kbps during export. Under Save/Cancel is a button for Options where you can decrease from 128.

    Bananite
    URL to post:
  • Devieus avatar
    Devieus username pic Joined 9y ago
    Moderator
    ONLINE
    93,155 points Ranked 38th
    70 medals 6 legendary 13 rare
    • 1st Place - Tutorial Contest Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2015 Medal icon
    • Returned 5000 times Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2016 Medal icon
    • 2017 Top Contributor Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    access_time 4y
    > **Posted by Moltard** > > > **Posted by tmontana** > > > > A more convenient way of doing this is to simply import/export using Audacity. > > > Ye that would lead to the same result. (but lower volume, so the Mp3gain part would still be needed). But I find freemake easier to use, to get the KHz and Kpbs i need. Audacity has a normalize function, it also has a compressor function to make it even better. Also, the English in this tutorial is a bit wonky, fix it.
    • Interesting x 1
    Sentinel of the TV remote avatar
    Mantra
    Sentinel of the TV remote
    URL to post:
  • tmontana avatar
    tmontana username pic Joined 9y ago
    Offline
    1,219 points Ranked 22766th
    19 medals 4 rare
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 50 subscribers Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    access_time 4y
    > **Posted by Moltard** > > > **Posted by tmontana** > > > > A more convenient way of doing this is to simply import/export using Audacity. > > > Ye that would lead to the same result. (but lower volume, so the Mp3gain part would still be needed). But I find freemake easier to use, to get the KHz and Kpbs i need. You can do that in Audacity by increasing the gain. I've never noticed any volume loss though.
    URL to post:
  • Moltard avatar
    Moltard Joined 7y ago
    Offline
    2,273 points Ranked 20327th
    20 medals 1 legendary 2 rare
    • Returned 5000 times Medal icon
    • Returned 1000 times Medal icon
    • 6 years a member Medal icon
    • Scripter of the Month, March 2013 Medal icon
    • Tutorial Contest Entrant Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    access_time 4y
    > **Posted by tmontana** > > A more convenient way of doing this is to simply import/export using Audacity. Ye that would lead to the same result. (but lower volume, so the Mp3gain part would still be needed). But I find freemake easier to use, to get the KHz and Kpbs i need.
    (• _• )
    URL to post:
  • tmontana avatar
    tmontana username pic Joined 9y ago
    Offline
    1,219 points Ranked 22766th
    19 medals 4 rare
    • 6 years a member Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Reached 50 subscribers Medal icon
    • Reached 1,000 Points Medal icon
    • 1 post awarded Exemplary Feedback Medal icon
    access_time 4y
    A more convenient way of doing this is to simply import/export using Audacity.
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
Moltard
Moltard Joined 7y ago
Offline
2,273 points Ranked 20327th
20 medals 1 legendary 2 rare
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • 6 years a member Medal icon
  • Scripter of the Month, March 2013 Medal icon
  • Tutorial Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Writter
Special Thanks
h4sard
h4sard Joined 6y ago
Offline
1,115 points Ranked 23432nd
8 medals 1 rare
  • 6 years a member Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • 2 years a member Medal icon
  • Returned 100 times Medal icon
Info

Submitter

Moltard Joined 7y ago
Offline
2,273 points Ranked 20327th
20 medals 1 legendary 2 rare
  • Returned 5000 times Medal icon
  • Returned 1000 times Medal icon
  • 6 years a member Medal icon
  • Scripter of the Month, March 2013 Medal icon
  • Tutorial Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
Moltard
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 3
  • remove_red_eye 3.8k
  • mode_comment 5
  • access_time 4y
  • access_time 3y

More from Submitter

menu

More Sounds Tutorials