Internal soundgen function called by getRMS
.
.detectNLP(
audio,
predictors = c("nPeaks", "d2", "subDep", "amEnvDep", "entropy", "HNR", "CPP",
"roughness"),
thresProb = 0.4,
unvoicedToNone = FALSE,
train = soundgen::detectNLP_training_nonv,
scale = NULL,
from = NULL,
to = NULL,
pitchManual_list = NULL,
pars_analyze = list(windowLength = 50, roughness = list(windowLength = 15, step = 3),
plot = FALSE),
pars_phasegram = list(nonlinStats = "d2"),
pars_naiveBayes = list(prior = "static", wlClumper = 3),
jumpThres = 14,
jumpWindow = 100,
plot = FALSE,
savePlots = NULL,
main = NULL,
xlab = NULL,
ylab = NULL,
type = "b",
ylim = NULL,
width = 900,
height = 500,
units = "px",
res = NA,
...
)
a list returned by readAudio
maximum possible amplitude of input used for normalization of
input vector (only needed if x
is a numeric vector)
if NULL (default), analyzes the whole sound, otherwise from...to (s)
if TRUE, plot a contour of RMS amplitude
full path to the folder in which to save the plots (NULL = don't save, '' = same folder as audio)
general graphical parameters
graphical parameters for saving plots passed to
png
other graphical parameters
the original input passed to detectNLP
(needed to call
analyze instead of .analyze)