Get current threshold or set value w/ time ramp
Syntax
threshold(threshold, [time])
Parameters
threshold
Number:
The decibel value above which the compression will start taking effect default = -24, range -100 - 0
time
Number:
Assign time value to schedule the change in value
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!