Skip to content

Commit 61b22ce

Browse files
committed
added documentation for getType,getPan, getFreq,getAmp in oscillator.js
1 parent 548e1ee commit 61b22ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oscillator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ define(function (require) {
219219
* @method getAmp
220220
* @for p5.Oscillator
221221
*
222-
* @return {number} Amplitude value between 0.0 and 1.0
222+
* @returns {number} Amplitude value between 0.0 and 1.0
223223
*/
224224
p5.Oscillator.prototype.getAmp = function() {
225225
return this.output.gain.value;

0 commit comments

Comments
 (0)