# decodeadpcm.dsp

Decompress a 4-bit Intel/DVI format sample.

### Function

This instrument is the adaptive delta pulse code modulation library routine. It is used internally when it is called by other adpcm routines to implement the decompression of 4-bit samples. Load this instrument using `LoadInstrument()` before loading other adpcm instruments.

Sound samples are compressed from 16-bit samples to 4-bit samples using the SoundHack program. These 4- bit samples are in the standard Intel/DVI format. This library routine decompresses the 4-bit samples so that they can be played by other adpcm instruments.

### Knobs

None

### Inputs

None

### Outputs

In accumulator

### Input FIFOs

None

### Output FIFOs

None

### Resource

Ticks = 0

N memory = 51 words