Types of Companding: μ-law and A-law
Companding (compressing/expanding) reduces a signal's dynamic range to improve signal-to-noise ratio (SNR) in telecommunications and audio processing. The two main standards are:
1. μ-law Companding
- Regions: North America, Japan
- Function: Logarithmic compression:
y = sign(x) * ln(1 + μ|x|) / ln(1 + μ)
- Compression factor (μ): Typically 255
2. A-law Companding
- Regions: Europe, Australia, most of the world
- Function: Piecewise logarithmic compression with linear segment for low amplitudes:
y = sign(x) * (A|x| / (1 + ln A)) for |x| ≤ 1/A
y = sign(x) * (1 + ln(A|x|)) / (1 + ln A) for |x| > 1/A
- Compression factor (A): Typically 87.6
Key Differences
- Compression curve: μ-law has gentler compression at low levels, steeper at high levels; A-law is more linear at low levels.
- Dynamic range efficiency: μ-law better for wide dynamic range; A-law better for narrower range.
- Implementation: A-law historically simpler in hardware.
Applications
- Telephone systems (voice quality over analog lines)
- Digital audio (efficient storage/transmission)
- Speech recognition (enhanced clarity)
Benefits
- Improved SNR
- Reduced bandwidth requirements
- Better audio quality
Note: Modern digital signal processing has largely superseded these methods, but they remain relevant in legacy systems.