Learn R Programming

seewave (version 2.1.6)

moredB: 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")

Value

A numeric vector of length 1.

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
# NOT RUN {
# 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