attenuation {seewave} | R Documentation |
This function generates dB data following theoretical spherical attenuation of sound.
attenuation(lref, dref = 1, dstop, n, plot = TRUE, xlab = "Distance (m)", ylab = "dB", type = "l", ...)
lref |
reference intensity or pressure level (in dB). |
dref |
reference distance corresponding to |
dstop |
maximal distance of propagation (in m.). |
n |
number of points generated between |
plot |
logical, if |
xlab |
title of the x axis. |
ylab |
title of the y axis. |
type |
if |
... |
other |
If plot
is FALSE
return a numeric vector with the data generated.
Sound attenuation in a free, unbounded medium behaves in accordance with
the inverse square law. attenuation
generates data following this rule
from a reference point where sound intensity level (SIL) or
sound pressure level (SPL) is known. Such theoretical data can be compared with
experimental data collected in a real environment.
Jerome Sueur
Hartmann, W. M. 1998 Signals, sound and sensation. New York: Springer.
# theoretical attenuation up to 150 m of a 100 dB/1m sound source attenuation(lref=100, dref=1, dstop=150, n=200)