Introduction
MAUD is a sampled-sound file of the Commodore Amiga, defined by MacroSystem Computer GmbH, the
German maker of Amiga hardware such as the Toccata sound card. It is an IFF file, like
8SVX, but a different form: FORM MAUD. Where 8SVX holds 8-bit
samples for the Amiga’s own sound chip, MAUD holds the samples of a sound card:
any size from 1 to 32 bits, mono, stereo or more channels, in any sampling rate, and
optionally A-law or µ-law coded. There are no loops and no envelopes.
MacroSystem’s own two-page description, maud.doc (“A new audio IFF file format … preliminary”), comes with its include files
maud.i and maud.h in the Toccata developer kit. A short message that Richard Koerber, who wrote MacroSystem’s
multisnd.library, sent in 1997, adds what was true in practice. MacroSystem’s
toccata.library and multisnd.library read the files, and so do Samplitude, SoX, FFmpeg and OpenMPT.
The extension is .maud; the files are also found as .iff.
Structure
A MAUD file is one IFF FORM chunk with the form type MAUD. The
MHDR chunk holds the number of frames, the bits a sample takes, the
sampling rate (a clock source divided by a divider), the channels and the compression code. The
MDAT chunk holds the samples, frame after frame, with the bits of each sample packed
end to end. The usual text chunks (NAME, AUTH, (c) and ANNO) may follow.
0FORM chunk ID, length, form type MAUD12 bytes12MHDR frames, bits a sample, rate, channels, compression40 bytes…NAME, AUTH, (c) , ANNO optional text chunksvaries…MDAT the bit-packed samplesvaries
In 100 real MAUD files from Amiga CD-ROMs (mono and stereo, 8 and 16 bits, all uncompressed; 33 of them say “Exported from HD recording system Samplitude from SEK’D” in an ANNO chunk), 67 have a FORM size 4 bytes larger than the file although every chunk is complete; the viewer reports that as the writer’s slip, not as a cut-short file.
Everything is big-endian. The container is the standard IFF one (chunk ID, 32-bit size, data, pad byte to an even offset), described on the 8SVX IFF chunks page.
Telling it from other IFF files
The extension is not enough: .iff is mostly used for pictures. The bytes at offset 0 to 3 are
FORM and at offset 8 to 11 are MAUD. A file with another form type there is another format:
8SVX (8SVX), 16SV (16SV),
AIFF (AIFF) and the picture forms.
What the viewer shows
Drop a file on the page, or use the explorer, to open it. The viewer shows:
- the whole structure as a tree: the
FORM, every chunk with its ID, size, data and pad byte, every field ofMHDRnamed and explained, and the text chunks; every byte of the file is covered - a table of the sound’s facts: name, author, copyright, sampling rate (with the source and the divider), bits a sample, channels and arrangement, compression, frames and duration
- a waveform that plays in the browser, for PCM of 1 to 32 bits (8 bits unsigned, other sizes signed), floating-point PCM, A-law, µ-law and Fibonacci-delta data; clicking a point on a waveform selects the bytes of that sample (where a sample is a whole number of bytes)
- problems, marked on the tree and listed: a header that is not 32 bytes, a
Samplescount that disagrees withMDAT(Samplitude writes bad counts), a divider of 0, channels that do not fitChannelInfo, bytes after the last whole frame, reserved fields that are not 0, a compression code with no decoder
It never refuses a damaged file: whatever cannot be read is shown as labelled bytes with a note.
Not described
Known, not yet covered
- Reference and viewer: how several channels of code 1 (Fibonacci) data are arranged. The viewer assumes one packed stream a channel, one after the other, as a compressed stereo 8SVX body; the other candidate is a frame of one 4-bit code per channel. SoundFX writes the code (Sample data); no program that reads or writes it with several channels has been analysed.
Unknown
- Reference and viewer: the compression codes 4 to 7 (ADPCM to 2, 3, 4 and 5 bits) and 8 (LONGDAT, 16 to 12 bits). MacroSystem’s
maud.doclists “ADPCMx” among the compression types and the include file names them, and neither gives an algorithm; the format’s author knows of no program that writes them, and the SoundFX saver does not either. Every reader found refuses or ignores them, and so does the code of MacroSystem’s ownmultisnd.library,toccata.libraryand Samplitude, which was disassembled; there is nothing to derive the algorithms from (Sample data). The viewer shows such a file’s header and flags the code. - Reference and viewer: the
MINFchunk thatChannelInfo4 (multichannel) needs. MacroSystem’smaud.docsays that with this arrangement each channel “may have a special function which will be defined in additional channel info chunks MINF” (future), and the include file only names the ID; the layout is not documented anywhere found, and no program writes it. The viewer shows its bytes under a name (Other chunks).
Links
Software
- SoX – command-line sound converter that reads and writes MAUD (Windows, macOS, Linux)
- FFmpeg – command-line tool that decodes MAUD with no compression, A-law or µ-law and converts it to other formats (Windows, macOS, Linux)
- OpenMPT – free tracker that loads MAUD files as instrument samples (Windows)
- maud.datatype – Amiga datatype that loads MAUD sounds into any datatype player (Amiga)
- aw2m – converts AIFF and WAV sounds to MAUD, with 12, 24 and 32-bit samples and the floating-point code 9 (Amiga)
Reference
- maud.doc – MacroSystem’s own description of the MAUD format, from its Toccata developer kit (Creative Computers CD-ROM), with
maud.iandmaud.hbeside it - MAUDINFO.TXT – Richard Koerber’s 1997 description of the MAUD format with MacroSystem’s include file
maud.i - FFmpeg iff.c – the demuxer that reads MAUD (C)
- EA IFF 85 – the standard for IFF files, which MAUD is built on