from_db()¶
- auglib.utils.from_db(x_db)[source]¶
Convert decibels (dB) to gain.
- Parameters
x_db (
typing.Union[float,auglib.core.observe.Base]) – input gain in decibels- Return type
- Returns
input gain
Examples
>>> from_db(-3) 0.7079457843841379
Convert decibels (dB) to gain.
x_db (typing.Union[float, auglib.core.observe.Base]) – input gain in decibels
input gain
Examples
>>> from_db(-3)
0.7079457843841379