Get current attack or set value w/ time ramp
Syntax
attack([attack], [time])
Parameters
attack
Number:
Attack is the amount of time (in seconds) to reduce the gain by 10dB, default = .003, range 0 - 1
time
Number:
Assign time value to schedule the change in value
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!