Skip to content

Commit 3477346

Browse files
committed
example reference added
1 parent 4bbe4ef commit 3477346

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/oscillator.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,13 @@ class Oscillator {
405405
}
406406

407407
/**
408-
* Pan between Left (-1) and Right (1)
408+
* Pan between Left (-1) and Right (1).
409+
* See also: <a href="#/p5.SoundFile/pan">Pan Example</a>
409410
*
410411
* @method pan
411412
* @for p5.Oscillator
412413
* @param {Number} panning Number between -1 and 1
413-
* @param {Number} timeFromNow schedule this event to happen
414+
* @param {Number} [timeFromNow] schedule this event to happen
414415
* seconds from now
415416
*/
416417
pan(pval, tFromNow) {

0 commit comments

Comments
 (0)