Jump to content

Which audio extension is smallest


Recommended Posts

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

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 by Sentrion

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 :)

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

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.

  • 2 weeks later...

I just added ogg support to the source code and it is very small. 10 MB for .wav but 300 KB for .ogg :lol:

 

 

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

 

 

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.

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.

 

 

 

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 ;)

  • 1 month later...

I say .mid works perfectly ;)

 

chiptune FTW

Wow , I had .mid support in my engine. It is very small , thanks for telling :D

here's a cookie :cookie::cookie::cookie::cookie::cookie:

 

but is there any converter of it? :santa:

Edited by Parikshit Singh

 

I say .mid works perfectly ;)

 

chiptune FTW

Wow , I had .mid support in my engine. It is very small , thanks for telling :D

here's a cookie :cookie::cookie::cookie::cookie::cookie:

 

but is there any converter of it? :santa:

 

here ya go, this should work

 

http://www.ofoct.com/audio-converter/convert-wav-or-mp3-ogg-aac-wma-to-midi.html

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.

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 :p

 

BTW , Why not lock this topic?

  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.