/CompresionAlgorithms

A-law and DPCM (using Huffman)

Primary LanguageC

Compresion-Algorithms

Comparision of standard companding algorithms

  1. A-law (https://en.wikipedia.org/wiki/A-law_algorithm)
  2. Adaptive DPCM using Huffman (https://en.wikipedia.org/wiki/Adaptive_differential_pulse-code_modulation)

Tools

Steps

  • Recorder 20 wav files (https://en.wikipedia.org/wiki/WAV)
  • Compression of each file ( with both algorithms, new files stored with algo extensions)
  • Decompression of each compressed file

Measurements

A-Law

DPCM

Results

Conclusion

DPCM algorithm has better quality of sound after decompressing.