Learn R Programming

seewave (version 2.2.3)

moredB: Addition of dB values

Description

This functions calculates the sum of dB values

Usage

moredB(x, level="IL")

Value

A numeric vector of length 1.

Arguments

x

a numeric vector or numeric matrix.

level

intensity level ("IL") or sound pressure level ("SPL")

Author

Jerome Sueur

Details

The addition of dB values is not linear. See examples.

References

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

See Also

meandB, sddB, convSPL, dBweight

Examples

Run this code
# two sources of 60 dB give an intensity level of 63 dB
moredB(c(60,60))
# addition of three sources
moredB(c(89,90,95))

Run the code above in your browser using DataLab