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.

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