Introduction
In Nintendo game audio a .dsp file is a sound in the 4-bit ADPCM coding of the GameCube’s audio
processor, behind the standard header written by Nintendo’s encoder. The extension is used for many unrelated
kinds of file, and these sounds also turn up under other names.
Structure
There is no magic number. A big-endian header of 0x60 bytes holds the sample count, nibble count, sample rate, loop flag and loop offsets, sixteen decoding coefficients, and the predictor and sample history values for the start and the loop point. The ADPCM data follows. Some games store the header little-endian.
Not described
This page is a first outline. The details of the layout are not yet described here.
Known, not yet covered
- Reference: the header field by field, the ADPCM frames and the many multi-channel variants, which vgmstream describes.
- Viewer: the site has no viewer for this format.
Links
Software
- vgmstream – player plugins and command-line decoder for video game audio
Reference
- vgmstream ngc_dsp_std.c – the header structure and the readers for its variants (C)