Reference threshold()

threshold()

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

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