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!

संबंधित संदर्भ