Decreasing Audio File Size
Getting PreparedBefore doing any of this, I recommend backing up your Audio folder somewhere. In case you end up saving over something.
Things you'll need.
- Audacity ~The Free, Cross-Platform Sound Editor (http://audacity.sourceforge.net/download/)
- Audio Folder
Download the version of Audacity you need. 1.3 works best on win 7 and vista. 1.2 is for earlier versions. Then after you download it, go ahead and install it.
ImportNOTE: You cannot import a midi file then export it as an OGG file. So it'll work on mp3s, oggs, wmas, wavs.
NOTE: The audio file you see is for example. Don't be hating ._.
Importing your sound files is easy. Open up Audacity, go to File, then Import, then Audio. Browse for the file you want. Lets notice the file size before hand.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/pic2-1.png)
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/pic8.png)
Its current 2.38MB.
Click okay, it'll take a few seconds to import the file.
ExportNow, we're practically done. After you import it, just go to File > Export. That easy.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/pic6.png)
Choose file type as Ogg.
Then click okay when the song info box comes up, or edit the info. Up to you.
File Size DifferenceNow that your new mp3 or other audio type is exported as an ogg lets look at the file size.
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/pic10.png)
(http://i678.photobucket.com/albums/vv143/GameGuysProjects/pic9.png)
Sure it doesn't seem like much of a difference, but that extra bit it knocked off, builds up with custom mp3's and sound files. So it helps, and people are more likely to download your game if it has a small file size.
NotesFor some reason, it doesn't work on MIDI files. But I'm sure there's a converter out there somewhere. Eh oh well. Enjoy =D
Nice tutorial. Two questions, though: first off, the file name of the song says "Kate Perry - I Kissed a Girl," whereas the title bar of the program after importing says "Party in the USA." O_O Wat. Secondly, MID file sizes are already so small due to the nature of the file that shrinking them any smaller not only is impossible, but is unnecessary. Converting an MID to an MP3 and then making it an OGG to reduce filesize would actually result in a much larger file than you had in the first place.
To point out, I took screenshots on 2 different days xD
I know the MIDI thing, but I just wanted to let people know they couldn't do it :P Anyways thanks =D
EDIT: And yes I've been listening to a lot of the following D:
- Miley Cyrus
- Britney Spears
- Ke$ha
- Dido
- Ashley Simpson
- Katy Perry
Who the fuck am I D:
Quote from: Adjutant game_guy on August 07, 2010, 01:51:57 pm
To point out, I took screenshots on 2 different days xD
I know the MIDI thing, but I just wanted to let people know they couldn't do it :P Anyways thanks =D
EDIT: And yes I've been listening to a lot of the following D:
- Miley Cyrus
- Britney Spears
- Ke$ha
- Dido
- Ashley Simpson
- Katy Perry
Who the fuck am I D:
D: D: D:
I think it's having an effect on your brain. That's probably why you spelled "Audio" wrong in your topic title.
Psh, I didnt spell it wrong :V
Quote from: Borat on August 07, 2010, 01:51:57 pm
I don't blame you. I'd do her, too.
WAIT A MOMENT! Wait, wait, wait, wait, wait, wait! You were listening to her music?! D: D: D:
Ok, I can understand that, too, if it's this remix (http://www.youtube.com/watch?v=mjdZjt7UPpM). :3
Thats an awesome remix cept that wasnt what I was listening to O_O I hate me D:
But you can listen to it now. :V
There is not in the music format. All that matters is bitrate. You lowered the bit rate, resulting in ogg and reduced the volume of music.
However, if you look at mp3 and Ogg at the same bitrate, you'll see that the mp3 even less weight than Ogg.
To do this, I picked up an mp3 at 320 kbps and pinch it in 112 kbps mp3 and 112 kbps ogg.
Outcome:
Before: 7,14 MB (MP3)
After: MP3 - 2,50 MB.
OGG - 2,53 MB.
And the quality in Ogg been immeasurably worse.
P.S. I'm made this again and gave to you all some screenies.
(http://s48.radikal.ru/i119/1008/79/261ecf689734.png)
(http://s45.radikal.ru/i107/1008/5a/ce1cd4120c4c.png)
(http://s11.radikal.ru/i184/1008/ce/e6b5017f3fa3.png)
Long ago I had had a prog that sampled mp3s to make into midis, but it sounded godawful. Don't think it's doable easily unless you sequence it yourself on mario paint for example...