I always heard that .ogg files are better than mp3s, so I decided to start researching this.
I used Audacity to import a FLAC audio file, and export it to various file formats and various bitrate. I exported to mp3 with bitrates 64, 96, 112, 128 and 192. I exported .ogg with quality settings 0, 1, 2, 3.
For this 4 minute and 35 second song, filesizes are as follows:
mp3 64 kbps - 2,205,392 bytes
mp3 96 kbps - 3,307,970 bytes
mp3 112 kbps - 3,859,257 bytes
mp3 128 kbps - 4,410,545 bytes
mp3 192 kbps - 6,615,698 bytes
ogg 0 - 2,182,076 bytes
ogg 1 - 2,687,489 bytes
ogg 2 - 3,289,363 bytes
ogg 3 - 3,960,570 bytes
After this testing I was shocked.
There wasn't that much difference between different ogg files, just slight treble. But there were huge differences between different mp3 files. (I know 192 vs 128 there is a difference but I mean 128 vs 96 vs 64)
But how more efficient were .ogg files compared to mp3, file size wise? a lot. Even the lowest quality .ogg sounds much better than 64 and 96, slightly better than 112, and pretty comparable to 128 if not better or worse. This makes .ogg files twice as space efficient.
EDIT: I even tried to listen differences between flac vs ogg and flac vs mp3 and see how much details were lost. I used the align the music on timeline and invert trick. Ogg files had very little loss, compared mp3 files which had HUGE quality loss.
The reason I'm bringing this up is because, if you drop .ogg file in osu to create a beatmap, it just doesn't work, it just creates a folder in songs folder, drops the file there and doesn't open the editor. In the ranking criteria, it implies that mp3s have to be used and have to be 128-192 kbps. This makes me think that space is indeed a concern for those who keep this site up and running.
So why don't we use .ogg files? Here's the thing, while osu doesn't support .ogg file when dropping a file, it PERFECTLY supports it under the hood. If you edit the .osu file and select .ogg file there, it will play without a problem.
So anyway, why is using .ogg discouraged here? I mean it's a free / Open format as opposed to .mp3 which had some weird patents and licenses and recently became free.
I used Audacity to import a FLAC audio file, and export it to various file formats and various bitrate. I exported to mp3 with bitrates 64, 96, 112, 128 and 192. I exported .ogg with quality settings 0, 1, 2, 3.
For this 4 minute and 35 second song, filesizes are as follows:
mp3 64 kbps - 2,205,392 bytes
mp3 96 kbps - 3,307,970 bytes
mp3 112 kbps - 3,859,257 bytes
mp3 128 kbps - 4,410,545 bytes
mp3 192 kbps - 6,615,698 bytes
ogg 0 - 2,182,076 bytes
ogg 1 - 2,687,489 bytes
ogg 2 - 3,289,363 bytes
ogg 3 - 3,960,570 bytes
After this testing I was shocked.
There wasn't that much difference between different ogg files, just slight treble. But there were huge differences between different mp3 files. (I know 192 vs 128 there is a difference but I mean 128 vs 96 vs 64)
But how more efficient were .ogg files compared to mp3, file size wise? a lot. Even the lowest quality .ogg sounds much better than 64 and 96, slightly better than 112, and pretty comparable to 128 if not better or worse. This makes .ogg files twice as space efficient.
EDIT: I even tried to listen differences between flac vs ogg and flac vs mp3 and see how much details were lost. I used the align the music on timeline and invert trick. Ogg files had very little loss, compared mp3 files which had HUGE quality loss.
The reason I'm bringing this up is because, if you drop .ogg file in osu to create a beatmap, it just doesn't work, it just creates a folder in songs folder, drops the file there and doesn't open the editor. In the ranking criteria, it implies that mp3s have to be used and have to be 128-192 kbps. This makes me think that space is indeed a concern for those who keep this site up and running.
So why don't we use .ogg files? Here's the thing, while osu doesn't support .ogg file when dropping a file, it PERFECTLY supports it under the hood. If you edit the .osu file and select .ogg file there, it will play without a problem.
So anyway, why is using .ogg discouraged here? I mean it's a free / Open format as opposed to .mp3 which had some weird patents and licenses and recently became free.