How to play back my own voice?

Hey! Any p5.sound experts here?

How would I make a sketch that lets me listen to my own audio, live? Not a “record a voice clip, then play it back” kind of deal, but a “speak into the mic, and listen to what I sound like through my earbuds” kind of thing.

Hi @tony, the AudioIn class has a connect() method which by default will route your input to your output. Just call it some where after you have created a new AudioIn object.
I hope that helps.
reference | connect() (p5js.org)