Music
There are many music formats supported by GZDoom. Currently, all of the music code is in its own submodule, ZMusic. The music system supports many types of MIDI, tracker, emulated chip, OPL, and PCM audio formats.
Until 4.4.0 Additionally, ZMusic also supports playing redbook audio via a CD drive, or through a CDDA dump of one.
This page links to sources for the specifications of each format, and pages for general information on them. You probably only need the latter.
All music formats can be put in a GZip container, saving space in some situations.
Ordering
ZMusic has a concept of song order for multi-track files. The way this works depends on the format, so we will go over each format's handling individually.
- CD Audio is divided into tracks.
- Most tracker formats have a concept of sub-songs. This will depend on the tracker format.
- The AY, GBS, HES, KSS, NSF, NSFe, and SAP formats all support multiple data tracks.
- Standard MIDI and XMI have a concept of sub-songs.
Formats
PCM Audio Formats
Supported PCM audio formats include:
- AIFF, AIFC12
- CDDA34 Until 4.4.0
- FLAC56
- MPEG 1.0, 2.0, 2.5 Layer I, II, III Audio (MP2, MP3)78
- Microsoft WAVE910
- Ogg Vorbis1112
More obscure, but supported, PCM formats include:
- 8SVX1314
- AU, SND1516
- CAF1718
- Creative VOC1920
- Ensoniq PARIS Audio2122
- FastTrackerII XI2324
- GNU Octave MAT4 and MAT52526
- HTK2728
- Headerless WAVE
- IRCAM Soundfile2930
- NIST SPHERE WAV3132
- PlayStation XA3334
- Portable Voice Format3536
- SD23738
- Sony Wave643940
OPL Formats
Supported OPL formats include:
Emulated Formats
Supported emulated formats include:
Tracker Formats
Supported tracker formats include:
- 6696768
- AMF6970
- DSM7172
- IT7374
- MOD7576
- MTM7778
- OKT7980
- PSM, PSM168182
- PTM8384
- RIFF AMFF, RIFF AM8586
- S3M8788
- STM8990
- XM9192
MIDI Formats
Supported MIDI formats include: