Learn R Programming

seewave (version 1.7.6)

convSPL: Convert sound pressure level in other units

Description

This function converts sound pressure level (in dB) in sound power (Watt), intensity (Watt/m2) and pressure (Pa). By default, these conversions are applied to air-borne sound.

Usage

convSPL(x, d = 1, Iref = 10^-12, pref = 2*10^-5)

Arguments

x
a numeric vector or a matrix describind SPL values (in dB).
d
the distance from the sound source where SPL values have been measured (in meter) (by default = 1m)
Iref
reference intensity (in Watt/m2) (by default = 10e-12)
pref
reference pressure (in Pa) (by default = 2.10e-5)

Value

  • convSPL returns a list containing three components:
  • Pdata converted in sound power (in Watt).
  • Idata converted in sound intensity (in Watt/m2).
  • pdata converted in sound pressure (in Pa).

References

Hartmann, W. M. 1998 Signals, sound and sensation. New York: Springer.

See Also

moredB, dBweight, attenuation

Examples

Run this code
# conversion of two SPL measurements taken at 0.5 m from the source
convSPL(c(80,85),d=0.5)

Run the code above in your browser using DataLab