Skip to content

Commit 9a3ded2

Browse files
committed
(Docs): Updated various fields in the p5.AudioIn reference
Signed-off-by: Abhijay Jain <[email protected]>
1 parent 5b2bf5c commit 9a3ded2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/audioin.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ class AudioIn {
5555
* @property {GainNode} input
5656
*/
5757
this.input = p5sound.audiocontext.createGain();
58+
5859
/**
60+
* Get audio from an input, i.e. your computer's microphone.
61+
*
5962
* @property {GainNode} output
6063
*/
6164
this.output = p5sound.audiocontext.createGain();
@@ -64,10 +67,12 @@ class AudioIn {
6467
* @property {MediaStream|null} stream
6568
*/
6669
this.stream = null;
70+
6771
/**
6872
* @property {MediaStreamAudioSourceNode|null} mediaStream
6973
*/
7074
this.mediaStream = null;
75+
7176
/**
7277
* @property {Number|null} currentSource
7378
*/

0 commit comments

Comments
 (0)