Audio Modifiers
AD Amplifier
A VCA with an AD envelope
A Voltage Controlled Amplifier (VCA) module with an Attack-Decay envelope
Use it to add an percusive envelopes to the synth voices.
Parameters
Same as ad envelope:
attack
: The attack time in seconds. Default is 0.1.decay
: The decay time in seconds. Default is 0.1.trigger
: The envelope trigger. 1 means start. You need to move the trigger back to 1 to restart the envelope.offset
: The offset of the envelope. Default is 0.gain
: The gain of the envelope. Default is 1.
Offset is silence
The ADSR will output offset
value when the gate is closed. If you want to
silence the output, set the offset
to 0.
Package
This module is exported from '@synthlet/ad' package.