Sound pressure level
The module spl
is a collection of functions used to describe the physics of acoustic waves.
Conversion to sound pressure level (SPL)
|
Convert an audio signal amplitude to Volts. |
|
Convert Volts to instantaneous sound pressure (p [Pa]). |
|
Convert wave amplitude to instantaneous sound pressure (p [Pa]). |
|
Convert sound pressure (p [Pa]) to sound pressure level (L [dB]). |
|
Convert sound pressure level (L [dB]) to sound pressure (p [Pa]). |
|
Convert power (amplitude²) to sound pressure level (L [dB]). |
|
Convert signal (amplitude) to instantaneous sound pressure level (L [dB SPL]). |
|
Convert wave amplitude to instantaneous sound pressure level (L [dB SPL]). |
|
Convert wave to Equivalent Continuous Sound Pressure level (Leq [dB SPL]). |
|
Convert pressure vector (p [Pa]) to Equivalent Continuous Sound Pressure level (Leq [dB SPL]). |
|
Convert Power spectral density (PSD, amplitude²) into Equivalent Continuous Sound pressure level (Leq [dB SPL]) |
Attenuation and active distance
|
Compute the attenuation in decibels taking into account the geometric, atmospheric and habitat attenuation contributions. |
|
Function to spread the sound pressure level (Energy in dB) along a frequency vector (bins). |
|
Compute the detection distance also known as detection range or detection radius or active space. |
|
Estimate the pressure p0 at distance r0 from pressure p measured at |
|
Estimate the sound pressure level L0 (dB SPL) at distance r0 from sound pressure |
|
Apply attenuation of a temporal signal p0 after propagation between the reference distance r0 and the final distance r taken into account the geometric, atmospheric and habitat attenuation contributions. |