Internal soundgen function
timeSeriesSummary(
x,
step,
inflThres = NULL,
extraSummaryFun = c(),
ref = 16.35,
plot = FALSE,
main = ""
)
numeric vector
time step in s
minimum difference (in semitones) between consecutive
extrema to consider them inflections; to apply a different threshold at
each smoothing level, provide inflThres
as a vector of the same
length as smoothBW
; NA = no threshold
additional summary function(s) that take a numeric vector with some NAs and return a single number, eg c('myFun1', 'myFun2')
reference value for transforming Hz to semitones, defaults to C0 (16.35 Hz)
if TRUE, plots the inflections for manual verification
A helper function called by .pitchDescriptives for each smoothing level.