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.
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!