Reference p5.Gain

p5.Gain

Generate a gain node to use for mixing and main volume.

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
Adjust the amplitude of the soundfile.
Notice any errors or typos? Please let us know. Please feel free to edit src/Gain.js and open a pull request!

Related References