mplot3
: ADSR PlotPlot Attack Decay Sustain Release Envelope Generator using mplot3
mplot3.adsr(Attack = 300, Decay = 160, Sustain = 40, Release = 500,
Velocity = 80, I = 200, O = 1800, lty = 1, lwd = 4,
main = "ADSR Envelope Generator", main.line = 1.6,
main.col = "white", Attack.col = pennCol$lighterYellow,
Decay.col = pennCol$orange, Sustain.col = pennCol$lighterRed,
Release.col = pennCol$lighterBlue, Decay.nl = FALSE,
draw.poly = FALSE, poly.alpha = 0.15, draw.verticals = TRUE,
v.lty = 1, v.lwd = 0.8, arrow.code = 2, arrow.length = 0.09,
grid = FALSE, grid.lty = 1, grid.lwd = 0.4, grid.col = NULL,
zero.col = "gray50", theme = "dark", labs.col = "gray70",
tick.col = "gray70", on.lty = 2, on.lwd = 7, on.alpha = 0.4,
on.col = "gray70", off.col = "gray70", pty = "m", mar = c(3, 3,
3.2, 0.5), xaxs = "i", yaxs = "i", par.reset = TRUE, ...)
Float: Attack time (in milliseconds)
Float: Decay time (in milliseconds)
Float: Sustain Level (percent)
Float: Release time (in milliseconds)
Float: Velocity (percent)
Float: Note on time (in milliseconds)
Float: Note off time (in milliseconds)
String: "light" or "dark" (Default)
Additional arguments to pass to mplot3.xy
Learn more: (https://en.wikipedia.org/wiki/Synthesizer#Attack_Decay_Sustain_Release_.28ADSR.29_envelope "ADSR Wikipedia")