Reference setInput()

setInput()

Connect a source to the gain node.

Syntax

setInput(src)

Parameters

src
Object:

p5.sound / Web Audio object with a sound output.

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References