Computes the short term energy of a Wave.
Usage
ste(wave, method = "dietrich2004", U = 120, ...)
Arguments
- wave
A Wave object. Stereo Wave and WaveMC objects are passed to
allChannels(), which returns the energy of each channel separately.
- method
Which method used to calculate the short term energy,
by default "dietrich2004" to use (Dietrich et al. 2004)
.
- U
Window length in samples, matching the pulse detection functions.
- ...
Other arguments to pass to ste method.
Value
A vector of short term energy values. For multi-channel input, one
such vector per channel.
References
Dietrich C, Palm G, Riede K, Schwenker F (2004).
“Classification of bioacoustic time series based on the combination of global and local decisions.”
Pattern Recognition, 37(12), 2293–2305.
Examples
if (FALSE) { # \dontrun{
ste(sheep, method="dietrich2004")
} # }