Skip to content

Commit 5c5cfa1

Browse files
authored
Merge pull request #1608 from processing/p5-sound-0.3.1
p5.sound soundOut documentation fix
2 parents 33df484 + b22fb6d commit 5c5cfa1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/addons/p5.sound.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,15 +374,15 @@ master = function () {
374374
}
375375
};
376376
/**
377-
* p5.soundOut is the p5.sound master output. It sends output to
377+
* `p5.soundOut` is the p5.sound master output. It sends output to
378378
* the destination of this window's web audio context. It contains
379379
* Web Audio API nodes including a dyanmicsCompressor (<code>.limiter</code>),
380380
* and Gain Nodes for <code>.input</code> and <code>.output</code>.
381381
*
382-
* @property p5.soundOut
382+
* @property soundOut
383383
* @type {Object}
384384
*/
385-
p5.soundOut = p5sound;
385+
p5.prototype.soundOut = p5.soundOut = p5sound;
386386
/**
387387
* a silent connection to the DesinationNode
388388
* which will ensure that anything connected to it

0 commit comments

Comments
 (0)