Connect a specific device to the p5.SoundRecorder. If no parameter is given, p5.SoundRecorer will record all audible p5.sound from your sketch.
Syntax
setInput([unit])
Parameters
unit
Object:
p5.sound object or a web audio unit that outputs sound
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!