to_db()¶
- auglib.utils.to_db(x)[source]¶
Convert gain to decibels (dB).
- Parameters
x (
typing.Union
[float
,auglib.core.observe.Base
]) – input gain- Return type
- Returns
input gain in dB
Examples
>>> to_db(2) 6.020599913279624
Convert gain to decibels (dB).
x (typing.Union
[float
, auglib.core.observe.Base
]) – input gain
input gain in dB
Examples
>>> to_db(2)
6.020599913279624