Internal soundgen function.
processAudio(
x,
samplingRate = NULL,
scale = NULL,
from = NULL,
to = NULL,
funToCall,
myPars = list(),
var_noSummary = NULL,
reportEvery = NULL,
savePlots = NULL,
saveAudio = NULL
)
path to a folder, one or more wav or mp3 files c('file1.wav', 'file2.mp3'), Wave object, numeric vector, or a list of Wave objects or numeric vectors
sampling rate of x
(only needed if x
is a
numeric vector)
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 NULL (default), analyzes the whole sound, otherwise from...to (s)
function to call (specify what to do with each audio input)
a list of parameters to pass on to `funToCall`
names of output variables that should not be summarized
report estimated time left every ... iterations (NA = no reporting, NULL = default frequency)
full path to the folder in which to save the plots (NULL = don't save, '' = same folder as audio)
function(s) used to summarize the output per input