File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,6 @@ class Distortion extends Effect {
123
123
* @property {AudioNode } WaveShaperNode
124
124
*/
125
125
this . waveShaperNode = this . ac . createWaveShaper ( ) ;
126
-
127
- //this.amount = curveAmount;
128
126
this . amount = amount ;
129
127
this . waveShaperNode . curve = makeDistortionCurve ( curveAmount ) ;
130
128
this . waveShaperNode . oversample = oversample ;
@@ -139,7 +137,7 @@ class Distortion extends Effect {
139
137
*
140
138
* @method process
141
139
* @for p5.Distortion
142
- * @param {Object } Signal An object that outputs audio
140
+ * @param {Object } src An object that outputs audio
143
141
* @param {Number } [amount] Unbounded distortion amount.
144
142
* Normal values range from 0-1.
145
143
* @param {String } [oversample] 'none', '2x', or '4x'.
You can’t perform that action at this time.
0 commit comments