findBursts {soundgen} | R Documentation |
Find bursts
Description
Internal soundgen function.
Usage
findBursts(
ampl,
step,
windowLength,
interburst,
burstThres,
peakToTrough,
troughLocation = "either",
scale = c("dB", "linear")[2]
)
Arguments
ampl |
downsampled amplitude envelope |
step |
time difference between two points in the envelope (ms) |
windowLength |
length of FFT window, ms |
interburst |
minimum time between two consecutive bursts (ms). Defaults
to the average detected |
peakToTrough |
to qualify as a burst, a local maximum has to be at least
|
troughLocation |
should local maxima be compared to the trough on the left and/or right of it? Values: 'left', 'right', 'both', 'either' |
Details
Called by segment
.
Value
Returns a dataframe with timing of bursts
[Package soundgen version 2.7.0 Index]