Internal soundgen function.
readAudio(
x,
input = checkInputType(x),
i,
samplingRate = NULL,
scale = NULL,
from = NULL,
to = NULL
)audio input (only used for Wave objects or numeric vectors)
a list returned by checkInputType
iteration
sampling rate of x (only needed if x is a
numeric vector, rather than an audio file or Wave object)
maximum possible amplitude of input used for normalization of
input vector (only needed if x is a numeric vector, rather than an
audio file or Wave object)
if NULL (default), analyzes the whole sound, otherwise from...to (s)