Function autd::utils::attenuation_coef [−][src]
pub fn attenuation_coef(
freq: Float,
hr: Float,
ps: Float,
ps0: Float,
t: Float
) -> Float
Returns an attenuation coefficients due to atmospheric absorption in a unit of [Np/mm].
Bass, Henry E., et al. “Atmospheric absorption of sound: Further developments.” The Journal of the Acoustical Society of America 97.1 (1995): 680-683.
Arguments
freq
- A frequency of sound [Hz]hr
- A relative humidity [%]ps
- An atmospheric pressure [atm]ps0
- A reference atmospheric pressure [atm]t
- An atmospheric temperature [K]