Internal soundgen function called by osc
.
.osc(
audio,
dynamicRange = 80,
dB = FALSE,
returnWave = FALSE,
plot = TRUE,
main = NULL,
xlab = NULL,
ylab = NULL,
ylim = NULL,
bty = "n",
midline = TRUE,
maxPoints = 10000,
width = 900,
height = 500,
units = "px",
res = NA,
...
)
dynamic range, dB. All values more than one dynamicRange under maximum are treated as zero
if TRUE, plots on a dB instead of linear scale
if TRUE, returns a log-transformed waveform as a numeric vector
if TRUE, plots the oscillogram
plot title
axis labels
override default amplitude scale for non-centered sounds
box type (see `?par`)
if TRUE, draws a line at 0 dB
the maximum number of points to plot (speeds up the plotting of long audio files, but beware of antialiasing)
graphical parameters for saving plots passed to
png
Other graphical parameters passed on to `plot()`