Reference amp()

amp()

Set the output volume of the filter.

Syntax

amp([vol], [rampTime], [tFromNow])

Parameters

vol
Number:

amplitude between 0 and 1.0

rampTime
Number:

create a fade that lasts until rampTime

tFromNow
Number:

schedule this event to happen in tFromNow seconds

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