Reference p5.Gain

p5.Gain

A gain node is usefull to set the relative volume of sound. It's typically used to build mixers.

Examples

Methods

setInput

Connect a source to the gain node.

connect

Send output to a p5.sound or web audio object

disconnect

Disconnect all output.

amp

Set the output level of the gain node.

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