moredB {seewave}R Documentation

Addition of dB values

Description

This functions calculates the sum of dB values

Usage

moredB(x, level="IL")

Arguments

x

a numeric vector or numeric matrix.

level

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

Details

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

Value

A numeric vector of length 1.

Author(s)

Jerome Sueur

References

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

See Also

meandB, sddB, convSPL, dBweight

Examples

# 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))

[Package seewave version 2.1.6 Index]