Skip to content

Commit 2bbf0e8

Browse files
authored
example updated
1 parent e9ac2af commit 2bbf0e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/soundfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,14 +902,14 @@ class SoundFile {
902902
* let sound,sRate, midiVal;
903903
* let midiNotes = [60, 64, 67, 72];
904904
* let noteIndex = 0;
905-
* function preload(){
905+
* function preload() {
906906
* sound = loadSound('assets/beat.mp3');
907907
* }
908908
*
909909
* function setup() {
910910
* let cnv = createCanvas(100, 100);
911911
* cnv.mousePressed(startSound);
912-
* }
912+
* }
913913
* function draw() {
914914
* background(220);
915915
* sRate = sound.rate();

0 commit comments

Comments
 (0)