.osc | R Documentation |
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,
...
)
dynamicRange |
dynamic range, dB. All values more than one dynamicRange under maximum are treated as zero |
dB |
if TRUE, plots on a dB instead of linear scale |
returnWave |
if TRUE, returns a log-transformed waveform as a numeric vector |
plot |
if TRUE, plots the oscillogram |
main |
plot title |
xlab , ylab |
axis labels |
ylim |
override default amplitude scale for non-centered sounds |
bty |
box type (see '?par') |
midline |
if TRUE, draws a line at 0 dB |
maxPoints |
the maximum number of points to plot (speeds up the plotting of long audio files, but beware of antialiasing) |
width , height , units , res |
graphical parameters for saving plots passed to
|
... |
Other graphical parameters passed on to 'plot()' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.