Reference ratio()

ratio()

Get current ratio or set value w/ time ramp

Syntax

ratio([ratio], [time])

Parameters

ratio
Number:

The amount of dB change in input for a 1 dB change in output default = 12, range 1 - 20

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!

Related References