Referencia getLevel()

getLevel()

Returns a single Amplitude reading at the moment it is called. For continuous readings, run in the draw loop.

Ejemplos

Sintaxis

getLevel([channel])

Parámetros

channel

Optionally return only channel 0 (left) or 1 (right)

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Referencias Relacionadas