.getRMS  R Documentation 
Internal soundgen function called by getRMS
.
.getRMS(
audio,
windowLength = 50,
step = NULL,
overlap = 75,
stereo = c("left", "right", "average", "both")[1],
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,
...
)
audio 
a list returned by 
windowLength 
length of FFT window, ms 
step 
you can override 
overlap 
overlap between successive FFT frames, % 
stereo 
'left' = only left channel, 'right' = only right channel, 'average' = take the mean of the two channels, 'both' = return RMS for both channels separately 
killDC 
if TRUE, removed DC offset (see also 
normalize 
if TRUE, the RMS amplitude is returned as proportion of
the maximum possible amplitude as given by 
windowDC 
the window for calculating DC offset, ms 
plot 
if TRUE, plot a contour of RMS amplitude 
xlab , ylab , main 
general graphical parameters 
type , col , lwd 
graphical parameters pertaining to the RMS envelope 
width , height , units , res 
graphical parameters for saving plots passed to

... 
other graphical parameters 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.