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.

Sintaxis

add(number)

Parámetros

number
Number:

Constant number to add

Returns

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!

Referencias Relacionadas