File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -77,14 +77,21 @@ class MonoSynth extends AudioVoice {
77
77
* @for p5.MonoSynth
78
78
*/
79
79
/**
80
+ * Allows user to set the decay time of the envelope (ADSR) of the MonoSynth class.
81
+ * It is a getter and setter that can be used to retrieve or change the decay time.
82
+ * Used in conjunction with the attack, sustain, and release fields/functions to set the full envelope of the synthesizer.
80
83
* @property {Number } decay
81
84
* @for p5.MonoSynth
82
85
*/
83
86
/**
87
+ * Allows the user to retrieve and adjust the sustain level of the envelope,
88
+ * which controls the level at which the sound is sustained during the sustain phase of the envelope.
89
+ * The default sustain level is set to 0.15.
84
90
* @property {Number } sustain
85
91
* @for p5.MonoSynth
86
92
*/
87
93
/**
94
+ * Allows the user to access and change the release time of the envelope.
88
95
* @property {Number } release
89
96
* @for p5.MonoSynth
90
97
*/
You can’t perform that action at this time.
0 commit comments