参考 add()

add()

Add a value to the p5.Oscillator's output amplitude, and return the oscillator. Calling this method again will override the initial add() with a new value.

语法

add(number)

参数

number
Number:

Constant number to add

返回值

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

相关参考