interacting with audio locally

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?

Tagged:

Answers

Sign In or Register to comment.