Unity supports various audio file formats and you can import and use these files as Audio Clips.
This page gives an overview about the audio file formats Unity supports. For instructions on how to import an audio file, refer to Import audio files into Unity.
For information about how Unity encodes your files once they are imported, refer to Audio file compression in Unity.
Unity supports mono, stereo, and multichannel audio assets up to eight channels.
You can import the following audio file formats into Unity:
| Format | Extensions |
|---|---|
| MPEG layer 3 | .mp3 |
| Audio Interchange File Format | .aiff / .aif |
| Microsoft Wave | .wav |
| Ogg Vorbis | .ogg |
| Free Lossless Audio Codec (FLAC) | .flac |
Unity also lets you import tracker modules in the following formats:
| Format | Extensions |
|---|---|
| Ultimate Soundtracker module | .mod |
| FastTracker 2 module | .xm |
| Impulse Tracker module | .it |
| Scream Tracker module | .s3m |
The tracker module assets behave the same way as any other audio assets in Unity although no waveform preview is available in the asset import inspector.