Reference mult()

mult()

Multiply the p5.Envelope's output amplitude by a fixed value. Calling this method again will override the initial mult() with new values.

Syntax

mult(number)

Parameters

number
Number:

Constant number to multiply

Returns

p5.Envelope: Envelope Returns this envelope with scaled output
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