Music format
Over time, ZDoom has come to support many different music formats, which you can use in your mods. The following list is mostly a superset of the sound formats, since some of these formats are supported only for music playback.
Contents |
Midi-based formats
| File Extension | Description |
|---|---|
| HMI | Human Machine Interface MIDI variant |
| HMP | Human Machine Interface MIDI variant |
| MID/MIDI/SMF | Standard MIDI File format |
| MUS | Doom music |
| XMI | |
Streamed formats
| File Extension | Description |
|---|---|
| MP2 | MPEG I/II Layer 2 |
| MP3 | MPEG I/II Layer 3 |
| OGG † | Ogg Vorbis (Ogg FLAC is not supported) |
| WAV | Wave Audio |
| FLAC † | Free Lossless Audio Codec |
| WMA | Windows Media Audio (Win32 only) |
| VAG | PS2/PSP Audio |
| AIFF | Audio Interchange File Format |
†: These formats support using audio loops.
OPL (AdLib) formats
| File Extension | Description |
|---|---|
| DRO | DOSBox Raw OPL v1 or v2 |
| IMF | Apogee Adlib Music |
| RAW | RDosPlay RAW OPL |
Note: Some IMF files don't work unless given a header, or converted to RAW, see "using OPL music in ZDoom" for more details and a tutorial.
Module formats
| File Extension | Description |
|---|---|
| MOD | Sound/Pro/Noisetracker Module |
| S3M | ScreamTracker 3 Module |
| XM | FastTracker 2 Module |
| IT | Impulse Tracker Module |
| STM | Old ScreamTracker Module |
| 669 | Composer 669 |
| PTM | Poly Tracker |
| PSM | Protracker Studio |
| MTM | MultiTracker |
| AMF | Asylum Music Format |
| OKT | Oktalyzer (development version r4081+ only) |
| DSM | DSIK Internal Format |
| RIFF AM/AMFF | Galaxy Sound System |
Emulated formats
Along with the other music formats, ZDoom also supports many of the native formats from retro gaming consoles and computers.
| File Extension | Description |
|---|---|
| AY | ZX Spectrum/Amstrad CPC |
| GBS | Nintendo Game Boy |
| GYM | Sega Genesis/Mega Drive |
| HES | NEC TurboGrafx-16/PC Engine |
| KSS | MSX Home Computer/other Z80 systems (No FM) |
| NSF/NSFE | Nintendo Entertainment System/Famicom |
| SAP | Atari systems using POKEY sound chip |
| SPC | Super Nintendo Entertainment System/Super Famicom |
| VGM/VGZ | Sega Master System/Mark III, Sega Genesis/Mega Drive, BBC Micro |
Note for multi-track NSFs: In MAPINFO, append a colon plus the track number to the song name(e.g. "D_NSFSNG:5"). For ACS, use the 2nd(Order) parameter of SetMusic and LocalSetMusic. For the changemus console command, add the track number as another argument after the song name.
External Links
There are quite a few archives on the web that keep all sorts of Music from various systems, in the formats listed above. Here's to name a few:
Sega Master System / Genesis (VGM/VGZ) Music - Project 2612
Super NES / Super Famicom (SPC) Music - SNESmusic.org
Nintendo Entertainment System / Famicom (NSF) Music - NSF Music @ Zophar's Domain
Atari XL/XE "POKEY" Chip (SAP) Music - Official Atari SAP Music Archive