Skip to content

Commit 98f3eeb

Browse files
committed
rebuild lib
1 parent 3d4fdd5 commit 98f3eeb

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/p5.sound.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! p5.sound.js v0.3.11 2019-03-13 */
1+
/*! p5.sound.js v0.3.11 2019-03-14 */
22
/**
33
* p5.sound extends p5 with <a href="http://caniuse.com/audio-api"
44
* target="_blank">Web Audio</a> functionality including audio input,
@@ -1069,7 +1069,7 @@ audiocontext = function (StartAudioContext, Context, Tone) {
10691069
* myDiv.position(0, 0);
10701070
*
10711071
* var mySynth = new p5.MonoSynth();
1072-
*
1072+
*
10731073
* // This won't play until the context has started
10741074
* mySynth.play('A6');
10751075
*
@@ -1095,8 +1095,7 @@ audiocontext = function (StartAudioContext, Context, Tone) {
10951095
}(StartAudioContext, Tone_core_Context, Tone_core_Tone);
10961096
var master;
10971097
'use strict';
1098-
const audiocontext = audiocontext;
1099-
master = function () {
1098+
master = function (audiocontext) {
11001099
/**
11011100
* Master contains AudioContext and the master sound output.
11021101
*/
@@ -1203,7 +1202,7 @@ master = function () {
12031202
p5.soundOut._silentNode.gain.value = 0;
12041203
p5.soundOut._silentNode.connect(p5sound.audiocontext.destination);
12051204
return p5sound;
1206-
}();
1205+
}(audiocontext);
12071206
var helpers;
12081207
'use strict';
12091208
helpers = function () {

0 commit comments

Comments
 (0)