Closed AlexMuresan closed 1 year ago
I've downloaded the p5.sound.jsand added it to the index.html and I'm still getting the following error:
p5.sound.js
It makes no difference wether I have it or not even though I see p5.sound.min.jsis already included.
p5.sound.min.js
Code to reproduce issue
let soundFile, analyzer, delay; function preload() { soundFormats('ogg', 'mp3'); soundFile = loadSound('./water_bloop_2.mp3'); } function setup() { createCanvas(400, 400); } function draw() { background(220); }
I've downloaded the
p5.sound.js
and added it to the index.html and I'm still getting the following error:It makes no difference wether I have it or not even though I see
p5.sound.min.js
is already included.Code to reproduce issue