Internal soundgen function called by getRMS
.
.getRMS(
audio,
windowLength = 50,
step = NULL,
overlap = 75,
killDC = FALSE,
normalize = TRUE,
windowDC = 200,
plot = TRUE,
main = NULL,
xlab = "",
ylab = "",
type = "b",
col = "green",
lwd = 2,
width = 900,
height = 500,
units = "px",
res = NA,
...
)
a list returned by readAudio
length of FFT window, ms
you can override overlap
by specifying FFT step, ms (NB:
because digital audio is sampled at discrete time intervals of
1/samplingRate, the actual step and thus the time stamps of STFT frames
may be slightly different, eg 24.98866 instead of 25.0 ms)
overlap between successive FFT frames, %
if TRUE, removed DC offset (see also flatEnv
)
if TRUE, the RMS amplitude is returned as proportion of
the maximum possible amplitude as given by scale
the window for calculating DC offset, ms
if TRUE, plot a contour of RMS amplitude
graphical parameters for plotting
general graphical parameters
general graphical parameters
graphical parameters pertaining to the RMS envelope
graphical parameters pertaining to the RMS envelope
graphical parameters pertaining to the RMS envelope
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
other graphical parameters