Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 = 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

Examples

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

seewave

Sound Analysis and Synthesis

v2.1.6
GPL (>= 2)
Authors
Jerome Sueur <sueur@mnhn.fr> [cre, au], Thierry Aubin [au], Caroline Simonis [au], Laurent Lellouch [main ctrb], Ethan C. Brown [ctrb], Marion Depraetere [ctrb], Camille Desjonqueres [ctrb], Francois Fabianek [ctrb], Amandine Gasc [ctrb], Eric Kasten [ctrb], Stefanie LaZerte [ctrb], Jonathan Lees [ctrb], Jean Marchal [ctrb], Andre Mikulec [ctrb], Sandrine Pavoine [ctrb], David Pinaud [ctrb], Alicia Stotz [ctrb], Luis J. Villanueva-Rivera [ctrb], Zev Ross [ctrb], Carl G. Witthoft [ctrb], Hristo Zhivomirov [ctrb].
Initial release
2020-06-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.