Skip to main content

Module decibel

Module decibel 

Source

Constants§

REFERENCE_SOUND_INTENSITY_W_PER_M2
Reference sound intensity, in watts per square meter.
REFERENCE_SOUND_PRESSURE_AIR_PA
Reference sound pressure in air, in pascals.

Functions§

amplitude_ratio_to_db
Converts an amplitude ratio into decibels.
db_to_amplitude_ratio
Converts decibels into an amplitude ratio.
db_to_power_ratio
Converts decibels into a power ratio.
power_ratio_to_db
Converts a power ratio into decibels.
sound_intensity_level_db
Computes sound intensity level in decibels relative to standard air reference intensity.
sound_pressure_level_db
Computes sound pressure level in decibels relative to standard air reference pressure.