Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Μ-law algorithm
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Continuous=== [[File:Mu-law function.svg|thumb|μ-law function|350x350px]] [[File:Inverse mu-law function.svg|thumb|Inverse μ-law function|350x350px]] For a given input {{mvar|x}}, the equation for μ-law encoding is<ref name="mulaw-equation">{{cite web |url=https://www.cisco.com/c/en/us/support/docs/voice/h323/8123-waveform-coding.html |title=Waveform Coding Techniques - Cisco |access-date=2020-12-07 |date=2006-02-02}}</ref> <math display="block"> F(x) = \sgn(x) \dfrac{\ln(1 + \mu |x|)}{\ln(1 + \mu)}, \quad -1 \leq x \leq 1, </math> where {{math|1=''μ'' = 255}} in the North American and Japanese standards, and {{math|1=sgn(''x'')}} is the [[sign function]]. The [[Range of a function|range]] of this function is −1 to 1. μ-law expansion is then given by the inverse equation:<ref name="mulaw-equation" /> <math display="block"> F^{-1}(y) = \sgn(y) \dfrac{(1 + \mu)^{|y|} - 1}{\mu}, \quad -1 \leq y \leq 1. </math>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)