setExp()

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

シンタックス

setExp(isExp)

パラメーター

isExp
Boolean:

true is exponential, false is linear

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

関連するリファレンス