Parik Posted February 21, 2015 Share Posted February 21, 2015 I'm creating a game and for that I have a .mp3 music which I have to add in game but it doesn't accepts it. If I convert it to .wav it is a high file size , I just want to know if you convert a mp3 file to the following extensions , what will be the extension that will have the lowest. Extensions supported :- wav , voc , iff , aiff , riff , 8svx Thanks Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/ Share on other sites More sharing options...
Sentrion Posted February 21, 2015 Share Posted February 21, 2015 (edited) Among the extensions you mentioned, WAV is the small extension I believe. The file size will only affect the time it takes to process the file on the user's computer. I'd personally suggest WAV. The other formats suck at data compression and the output will be crappy. Edited February 23, 2015 by Sentrion Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067001042 Share on other sites More sharing options...
Parik Posted February 21, 2015 Author Share Posted February 21, 2015 Among the extensions you mentioned, WAV is the small extension I believe. The file size will only affect the time it takes to process the file on the user's computer. I'd personally suggest WAV. I'll use WAV then Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067001121 Share on other sites More sharing options...
K^2 Posted February 23, 2015 Share Posted February 23, 2015 WAVE files are not, typically, compressed at all. And all of the compression formats for it are kind of crap. But the other options you've listed are archaic, and the compression on them is also terrible. What the hell sort of an engine doesn't support something a bit more modern? If you have a source code, I'd strongly recommend just patching in a library that can handle .MP3 or .ogg Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067009245 Share on other sites More sharing options...
trip Posted February 27, 2015 Share Posted February 27, 2015 Yeah...waves are generally huge. I'm with K^2 on that "what you are writing in" question. If you are super screwed and have to stay with .wav you may be able to get by with converting your mp3 song down to the lowest bitrate you can and then convert that to a wav. It will still be huge. Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067034267 Share on other sites More sharing options...
Parik Posted March 11, 2015 Author Share Posted March 11, 2015 I just added ogg support to the source code and it is very small. 10 MB for .wav but 300 KB for .ogg Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067101054 Share on other sites More sharing options...
Ss4gogeta0 Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW Parik 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067131390 Share on other sites More sharing options...
Wonderbro Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW But .mid isn't really an audio file, is it? Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067131517 Share on other sites More sharing options...
hornedturtle Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW But .mid isn't really an audio file, is it?yes it is....it is just....extremely restrictive Ss4gogeta0 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067131521 Share on other sites More sharing options...
Ss4gogeta0 Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW But .mid isn't really an audio file, is it? yes it is....it is just....extremely restrictive he asked for the smallest... so I gave it to him.... 4kb mid files ftw http://www.onges-erasure-page.co.uk/wp-content/downloads/olamour.mid Parik 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067131534 Share on other sites More sharing options...
Wonderbro Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW But .mid isn't really an audio file, is it? yes it is....it is just....extremely restrictive But it doesn't actually contain any audio, it's all just notes. I'm sure you can use it in a game, but then you have to create something that would actually play the midi file. Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067131544 Share on other sites More sharing options...
K^2 Posted March 15, 2015 Share Posted March 15, 2015 Audio chips on modern boards have MIDI synths on board. They aren't terribly good, but you don't strictly need to generate any audio for MIDI playback. As for whether it's still an audio format, any good compression scheme will not contain actual sounds. It will contain descriptions of them. Ones used by, say, MP3 are much more general, allowing very close replication of source audio, but you are still listening to audio that's generated on your machine locally. Not the original recording. Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067132009 Share on other sites More sharing options...
Ss4gogeta0 Posted March 15, 2015 Share Posted March 15, 2015 I say .mid works perfectly chiptune FTW But .mid isn't really an audio file, is it? yes it is....it is just....extremely restrictive But it doesn't actually contain any audio, it's all just notes. I'm sure you can use it in a game, but then you have to create something that would actually play the midi file. actually... I deal with midi all the time... I make games and midi is the way to go when you want to save space Parik 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067134053 Share on other sites More sharing options...
Parik Posted April 16, 2015 Author Share Posted April 16, 2015 (edited) I say .mid works perfectly chiptune FTW Wow , I had .mid support in my engine. It is very small , thanks for telling here's a cookie but is there any converter of it? Edited April 16, 2015 by Parikshit Singh Ss4gogeta0 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067321097 Share on other sites More sharing options...
Ss4gogeta0 Posted April 16, 2015 Share Posted April 16, 2015 I say .mid works perfectly chiptune FTW Wow , I had .mid support in my engine. It is very small , thanks for telling here's a cookie but is there any converter of it? here ya go, this should work http://www.ofoct.com/audio-converter/convert-wav-or-mp3-ogg-aac-wma-to-midi.html Parik 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067321117 Share on other sites More sharing options...
Parik Posted April 19, 2015 Author Share Posted April 19, 2015 What about the other way round? Which audio extension is the biggest Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067339404 Share on other sites More sharing options...
K^2 Posted April 20, 2015 Share Posted April 20, 2015 Anything with uncompressed, raw audio recorded with high sampling rate and high bits per sample (bps). WAVE tends to be among the highest. It can store 16bps per channel at an arbitrary sampling rate. Typically, though, the sample rate doesn't need to go above 44100 Hz, so with two channels, you are looking at 172kB/s. Now, if you really just want to make it larger, you can increase sample rate. I've seen files go up to 96kHz. You can also increase bps or number of channels. I don't really know if WAVE supports higher bps, but some audio tools do store 32bps as either 32 bit integer or 32 bit floating point value. Audacity's project files do that, I believe. But that's only ever really useful for editing. The aforementioned 172kB/s is more than enough for stereo sound. Most people simply don't have the hardware to even accept anything beyond that. Parik 1 Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067343463 Share on other sites More sharing options...
Parik Posted April 21, 2015 Author Share Posted April 21, 2015 Anything with uncompressed, raw audio recorded with high sampling rate and high bits per sample (bps). WAVE tends to be among the highest. It can store 16bps per channel at an arbitrary sampling rate. Typically, though, the sample rate doesn't need to go above 44100 Hz, so with two channels, you are looking at 172kB/s. Now, if you really just want to make it larger, you can increase sample rate. I've seen files go up to 96kHz. You can also increase bps or number of channels. I don't really know if WAVE supports higher bps, but some audio tools do store 32bps as either 32 bit integer or 32 bit floating point value. Audacity's project files do that, I believe. But that's only ever really useful for editing. The aforementioned 172kB/s is more than enough for stereo sound. Most people simply don't have the hardware to even accept anything beyond that. Thanks. Why was I asking? Because a friend ask me for songs and I didn't had much , so to show him that there are too many songs , why not give him the songs , each of 100 MB BTW , Why not lock this topic? Link to comment https://gtaforums.com/topic/768419-which-audio-extension-is-smallest/?do=findComment&comment=1067349818 Share on other sites More sharing options...
Recommended Posts