This article mainly describes the concept and principle of encoding in the first and second chapters. The third chapter mainly describes Adaptive Differential Pulse Code Modulation (ADPCM) algorithm, adaptive quantizing and adaptive predicting algorithm.