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
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