We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi, what am i missing here: i want to make audio work locally in the browser, both from mic input and load/play an audio file. using
mic = new p5.AudioIn();
doesn't register when viewing a page locally, and neither does linking to an audio file in the same directory as my index/sketch.js files... using song = loadSound('song.mp3'); song.play();
i even tried copy/pasting the examples from the p5.js site and those don't seem to work locally, either.
any ideas?
Answers
Never mind- I realized I have to use a local server to make this stuff work.