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 {
7777 * @for p5.MonoSynth
7878 */
7979 /**
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.
8083 * @property {Number } decay
8184 * @for p5.MonoSynth
8285 */
8386 /**
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.
8490 * @property {Number } sustain
8591 * @for p5.MonoSynth
8692 */
8793 /**
94+ * Allows the user to access and change the release time of the envelope.
8895 * @property {Number } release
8996 * @for p5.MonoSynth
9097 */
You can’t perform that action at this time.
0 commit comments