Document adsr function

This commit is contained in:
Alexandre G.-Raymond
2023-10-28 19:50:41 +02:00
parent 248757ac3f
commit 2633f4fcef
3 changed files with 24 additions and 0 deletions
+4
View File
@@ -82,6 +82,10 @@ Strudel uses ADSR envelopes, which are probably the most common way to describe
<JsDoc client:idle name="release" h={0} />
## adsr
<JsDoc client:idle name="adsr" h={0} />
# Filter Envelope
Each filter can receive an additional filter envelope controlling the cutoff value dynamically. It uses an ADSR envelope similar to the one used for amplitude. There is an additional parameter to control the depth of the filter modulation: `lpenv`|`hpenv`|`bpenv`. This allows you to play subtle or huge filter modulations just the same by only increasing or decreasing the depth.