Scale this envelope's amplitude values to a given range, and return the envelope. Calling this method again will override the initial scale() with new values.
Syntax
scale(inMin, inMax, outMin, outMax)
Parameters
inMin
Number:
input range minumum
inMax
Number:
input range maximum
outMin
Number:
input range minumum
outMax
Number:
input range maximum
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!