레퍼런스 getLevel()

getLevel()

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

예제

구문

getLevel([channel])

매개변수

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!

관련 레퍼런스