Skip to content

Commit a266a5b

Browse files
authored
Fixed function name mismatch in reference page of p5.Amplitude (#602)
1 parent ac73e1d commit a266a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amplitude.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import processorNames from './audioWorklet/processorNames';
2121
* }
2222
* function setup() {
2323
* let cnv = createCanvas(100,100);
24-
* cnv.mouseClicked(toggleSound);
24+
* cnv.mouseClicked(togglePlay);
2525
* amplitude = new p5.Amplitude();
2626
* }
2727
*

0 commit comments

Comments
 (0)