File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,21 @@ class MonoSynth extends AudioVoice {
77
77
* @for p5.MonoSynth
78
78
*/
79
79
/**
80
- * used 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
- * It is used in conjunction with the attack, sustain, and release fields/functions to set the full envelope of the synthesizer.
80
+ * allow 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.
83
83
* @property {Number } decay
84
84
* @for p5.MonoSynth
85
85
*/
86
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.
87
90
* @property {Number } sustain
88
91
* @for p5.MonoSynth
89
92
*/
90
93
/**
94
+ * allows the user to access and change the release time of the envelope.
91
95
* @property {Number } release
92
96
* @for p5.MonoSynth
93
97
*/
You can’t perform that action at this time.
0 commit comments