Skip to content

Commit

Permalink
added documentation for getType,getPan, getFreq,getAmp in oscillator.js
Browse files Browse the repository at this point in the history
  • Loading branch information
endurance21 committed May 2, 2020
1 parent 548e1ee commit 61b22ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscillator.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ define(function (require) {
* @method getAmp
* @for p5.Oscillator
*
* @return {number} Amplitude value between 0.0 and 1.0
* @returns {number} Amplitude value between 0.0 and 1.0
*/
p5.Oscillator.prototype.getAmp = function() {
return this.output.gain.value;
Expand Down

0 comments on commit 61b22ce

Please sign in to comment.