SLAA361A July 2007 – August 2018 MSP430F169 , MSP430F169 , MSP430FG4618 , MSP430FG4618
The simplest way to make a voice recorder is to store the analog-to-digital conversion results (for example, 12-bit samples) directly in the flash memory. Most of the time, the audio data does not use the complete ADC range, which means that redundant information is stored in the flash memory. Compression algorithms remove this redundant information and reduce the data that must be stored.
Adaptive differential pulse code modulation (ADPCM) is a compression algorithm. Various ADPCM algorithms exist, all of which use differential codes and adaptation of the step-size of the quantizer. Section 2.1 describes differential pulse code modulation (DPCM), and Section 2.2 describes the IMA ADPCM algorithm, which is used in the associated code.