powered by
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", ...)
reference intensity or pressure level (in dB).
reference distance corresponding to lref (in m.) (by default = 1).
lref
maximal distance of propagation (in m.).
number of points generated between dref and dstop.
dref
dstop
logical, if TRUE plots attenuation against distance of propagation (by default TRUE).
TRUE
title of the x axis.
title of the y axis.
if plot is TRUE, type of plot that should be drawn. See plot for details (by default "l" for lines).
plot
other plot graphical parameters.
If plot is FALSE return a numeric vector with the data generated.
FALSE
Hartmann, W. M. 1998 Signals, sound and sensation. New York: Springer.
convSPL, moredB
convSPL
moredB
# NOT RUN { # theoretical attenuation up to 150 m of a 100 dB/1m sound source attenuation(lref=100, dref=1, dstop=150, n=200) # }
Run the code above in your browser using DataLab