Routines are developed and an application is shown to implement a µ-Law compressor that converts an analog voice band signal and produces a digitized 8-bit compressed value. An expanding DAC is also developed that restores the compressed digital value back to an analog value.
Image may be NSFW.
Clik here to view.