参考 mult()

mult()

Multiply the p5.Oscillator's output amplitude by a fixed value (i.e. turn it up!). Calling this method again will override the initial mult() with a new value.

语法

mult(number)

参数

number
Number:

Constant number to multiply

Returns

p5.Oscillator: Oscillator Returns this oscillator with multiplied 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!

相关参考