Returns a single Amplitude reading at the moment it is called. For continuous readings, run in the draw loop.
उदाहरण
सिंटैक्स
getLevel([channel])
पैरामीटर्स
channel
Number:
Optionally return only channel 0 (left) or 1 (right)
Returns
Number: Amplitude as a number between 0.0 and 1.0
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!