Skip to content

Commit

Permalink
fixed abnormal behaviour of audio output in p5.signal example
Browse files Browse the repository at this point in the history
  • Loading branch information
endurance21 committed May 2, 2020
1 parent e5a58ba commit a5d6573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signal.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ define(function (require) {
* text('tap to play', 20, 20);
*
* carrier = new p5.Oscillator('sine');
* carrier.start();
* carrier.amp(1); // set amplitude
* carrier.freq(220); // set frequency
*
Expand All @@ -58,6 +57,7 @@ define(function (require) {
* function canvasPressed() {
* userStartAudio();
* carrier.amp(1.0);
* carrier.start();
* }
*
* function mouseReleased() {
Expand Down

0 comments on commit a5d6573

Please sign in to comment.