Reference setInput()

setInput()

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

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References