Reference setExp()

setExp()

Set whether the envelope ramp is linear (default) or exponential. Exponential ramps can be useful because we perceive amplitude and frequency logarithmically.

Syntax

setExp(isExp)

Parameters

isExp
Boolean:

true is exponential, false is linear

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