We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Hardware

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is Mu-Law?

By Carol Francois
Updated: May 16, 2024
Views: 34,533
Share

The mu-law is an algorithm used to compress the dynamic range for an audio signal transmitted over a telecommunication system. An algorithm is a series of calculations processed in a predefined order to within a computer or processor. The dynamic range of an audio signal is the ratio of the loudest undistorted sound over the background noise level picked up by the microphone.

Human speech has a dynamic range of 40 dB and human hearing has dynamic range of approximately 140 dB. When transmitting the human voice over a telecommunication system, the mu-law algorithm is applied to compress the data or audio signal. The purpose of this calculation is to improve the dynamic range ratio to ensure the sound of the human voice is carried with as little distortion as possible.

This formula is in use with both the older analog based systems as well as the newer digital systems. Under the analog system, the mu-law algorithm was used to reduce the impact of background noise or static. In the digital system, this formula compresses the digital signal to 8 bits, while keeping the same approximate level of noise.

The mathematical formula for mu-law is:

F(x) = sgn(x)*ln(1 + μ׀x׀))
ln(1 + μ)

where μ = 255 (8 bits) and for a given input x.

Mu-law is used for the digital telecommunication networks in North American and Japan to change the data to the supported 8 bit format. This is done after the signal or sound is received and processed by the digital computer system. In an analog system, this change is complete with the use of a non-linear gain amplifier. When working with an analog network, signal compression and adjustments should be completed internal to the analog system, where ever possible.

To convert an analog signal to digital, a converted with quantization levels set for an analog to digital conversion is required. Quantization refers to conversion of an analog signal into a digital one. The level must be of unequal space in accordance with the mu-law algorithm.

If the signal is already digital, then there is no need to convert anything and the mu-law formula can be applied directly. The 8 bit data file size is ideal for a digital file and matches the symbol size of most computers. This coincidence removed a large potential barrier to the digitization of the telecommunication system and was instrumental in the transition and acceptance of digital telecommunications.

Share
EasyTechJunkie is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.
Discussion Comments
Share
https://www.easytechjunkie.com/what-is-mu-law.htm
Copy this link
EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.

EasyTechJunkie, in your inbox

Our latest articles, guides, and more, delivered daily.