Are you a musician?
Register here
Mobilmenu

What audio format should I use for my game?

Good question! I'm glad you asked.

Basically, you have 5 choices when it comes to selecting an audio format for your game.

In this little guide, I'll explain the 5 choices, so you can get a better idea of what your options are, and what the advantages and disadvantages for your choice are.

You can also skip the descriptions, and jump right to IndieGameMusic's recommendation.


flac and wav

Lossless streamed audio.

Advantages

Disadvantages

Platforms


mp3 and ogg

Compressed lossy streamed audio.

Advantages

Disadvantages

Platforms


it, xm, s3m and mod

Tracker formats, consists of instrument data in a streamed audio format, combined with notation data.

Advantages

Disadvantages

Platforms


midi (without soundfont)

A MIDI file consists of notation data, describing when to play which note for how long. Unlike the tracker formats described above, it doesn't contain any instrument data, but instead uses instrument data from the playback device.

Advantages

Disadvantages

Platforms


midi with soundfont

In order to avoid the problem with MIDI sounding differently on different platforms, you can choose MIDI files that comes bundled with a soundfont. This basically results in a playback very similar to the tracker formats.

Advantages

Disadvantages

Platforms


IndieGameMusic recommends

 

Quality

Filesize

Manipulative

WAV

😃ī¸
☚ī¸
🙁ī¸

MP3/OGG

😀ī¸
🙂ī¸
🙁ī¸

IT/S3M/XM

😀ī¸
😀ī¸
😀ī¸

MOD

😐ī¸
😀ī¸
😀ī¸

GM MIDI

😐ī¸
😃ī¸
😀ī¸

Recommending certain audio file-types will of course always depend on what the top priority for the game-developer is. Whether it's important that file-size is very small, or quality is extremely high. Whether the game-developer needs smooth looping music, and/or lots of control options, such as tempo change and jumping to other places in the music.

Since the main focus of IndieGameMusic.com is game-music, we recommend audio file-types in the following order:

  1. IT/S3M/XM - because it gives you great sound, low filesize, and lots of control.
  2. MIDI+soundfont - because it gives you great sound, low filesize, and a decent amount of control.
  3. OGG - because it gives you great sound, and file-size can be acceptable. OGG let's you do smooth loops of the music. (MP3 does not).

Those are the formats you should aim for, if your platform supports them, and if the track you like is available in any of those formats. See if there's an IT/S3M/XM version of the track available. If not, see if there's a MIDI+soundfont version available, and so on.

If your platform doesn't support playback of any of the above formats, you will of course need one of the other formats. You should note about other formats: