Reference p5.Amplitude

p5.Amplitude

Get the current volume of a sound.

Examples

Methods

setInput
Connect an audio source to the amplitude object.
getLevel
Get the current amplitude value of a sound.
Notice any errors or typos? Please let us know. Please feel free to edit src/Amplitude.js and open a pull request!

Related References