inverse_db()¶
- audmath.inverse_db(y, *, bottom=-120)[source]¶
Convert decibels to amplitude value.
The inverse of a value provided in decibel is given by
where is provided by the argument of same name.
- Parameters
- Return type
- Returns
input signal
Examples
>>> inverse_db(0) np.float64(1.0) >>> inverse_db(-120) np.float64(0.0) >>> inverse_db(-3) np.float64(0.7079457843841379) >>> inverse_db([-120, 0]) array([0., 1.])