.addAM | R Documentation |
Internal soundgen function, see addAM
.
.addAM(
audio,
amDep = 25,
amFreq = 30,
amType = c("logistic", "sine")[1],
amShape = 0,
invalidArgAction = c("adjust", "abort", "ignore")[1],
plot = FALSE,
play = FALSE
)
audio |
a list returned by |
amDep |
amplitude modulation (AM) depth, %. 0: no change; 100: AM with amplitude range equal to the dynamic range of the sound (anchor format) |
amFreq |
AM frequency, Hz (anchor format) |
amType |
"sine" = sinusoidal, "logistic" = logistic (default) |
amShape |
ignore if amType = "sine", otherwise determines the shape of non-sinusoidal AM: 0 = ~sine, -1 = notches, +1 = clicks (anchor format) |
invalidArgAction |
what to do if an argument is invalid or outside the
range in |
plot |
if TRUE, plots the amplitude modulation |
play |
if TRUE, plays the processed audio |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.