Fangames > Programming Questions

Non-Restarting music only working on one song?

<< < (2/2)

dYnAm1c:
.ogg files are probably the best for music in fangames, it has a very good compression but still good audio quality. Also the audio bitrate shouldn't go over 128kb/s as you shouldn't notice a difference anyways to higher bitrates, this saves space and probably better loading times and no lag on restarts.

to compare: a 3 minute song in good mp3 quality is about 4-6mb. A 3 minute song in good ogg quality is about 1,5-2,5mb.

xElectricZz:

--- Quote from: dYnAm1c on February 08, 2014, 09:16:23 PM ---.ogg files are probably the best for music in fangames, it has a very good compression but still good audio quality. Also the audio bitrate shouldn't go over 128kb/s as you shouldn't notice a difference anyways to higher bitrates, this saves space and probably better loading times and no lag on restarts.

to compare: a 3 minute song in good mp3 quality is about 4-6mb. A 3 minute song in good ogg quality is about 1,5-2,5mb.

--- End quote ---

Thanks for the help, After trying to compress it didn't work since its size was still too big, and trying to convert it into an ogg didn't work since it wouldn't play in game maker; i got an idea to convert it like this: 211kbit MP3 (Original File) - 96kbit OGG (From Earlier) - 96kbit MP3 using media.io. It managed to drop to 2.2 or so MB on the OGG, and the exact same size for the MP3 somehow. it works perfectly now.

Navigation

[0] Message Index

[*] Previous page

Go to full version