Caution
You're reading the documentation for a development version. For the latest released version, please have a look at 0.10.2.
librosa.db_to_power
- librosa.db_to_power(S_db, *, ref=1.0)[source]
Convert dB-scale values to a power values.
This effectively inverts
power_to_db
:db_to_power(S_db) ~= ref * 10.0**(S_db / 10)
- Parameters:
- S_dbnp.ndarray
dB-scaled values
- refnumber > 0
Reference power: output will be scaled by this value
- Returns:
- Snp.ndarray
Power values
Notes
This function caches at level 30.