convSPL: Convert sound pressure level in other units

View source: R/seewave.r

convSPLR Documentation

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

pref

reference pressure (in Pa) (by default = 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).

Note

Iref and pref correspond to a 1 kHz sound in air.

Author(s)

Jerome Sueur sueur@mnhn.fr

References

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

See Also

moredB, dBweight, attenuation

Examples

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

seewave documentation built on Oct. 19, 2023, 5:07 p.m.

Related to convSPL in seewave...