Learn R Programming

seewave (version 2.2.3)

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)

Value

convSPL returns a list containing three components:

P

data converted in sound power (in Watt).

I

data converted in sound intensity (in Watt/m2).

p

data converted in sound pressure (in Pa).

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 = 10^-12)

pref

reference pressure (in Pa) (by default = 2*10^-5)

Author

Jerome Sueur sueur@mnhn.fr

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