Skip to content

Commit d94bdf5

Browse files
authored
Merge pull request #216 from therewasaguy/patch/sound-loop-example
patch sound loop example
2 parents 2644e0c + 805b5a9 commit d94bdf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sound_loop/sketch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function setup() {
2828

2929
looper1 = new p5.SoundLoop(function(timeFromNow){
3030
click.play(timeFromNow);
31-
looper1.bpm looper1.bpm += 0.5;
31+
looper1.bpm = looper1.bpm += 0.5;
3232
}, "8n");
3333

3434
looper2 = new p5.SoundLoop(function(timeFromNow){

0 commit comments

Comments
 (0)