Mulaw
Mu-law, often written as μ-law, is a companding algorithm used in digital telephony to optimize the dynamic range of audio signals encoded with 8-bit PCM. It is standardized in ITU-T G.711 and is widely used in North America and Japan. The goal is to compress the wide dynamic range of human speech into a format that can be efficiently quantized with 8 bits, improving the signal-to-noise ratio for low-amplitude signals.
Mu-law applies a nonlinear logarithmic compression to the amplitude before quantization. The typical parameter for 8-bit
Mu-law is often contrasted with A-law, the European alternative. Both laws implement the same general purpose
Implementation notes: in software and hardware, mu-law encoding follows a piecewise-law function with sign-preserving compression, then
History: Mu-law originated in the Bell System as a method to improve voice quality over telephone channels,