getLevel
Get the current amplitude value of a sound.
setInput
Connect an audio source to the amplitude object.
smooth
Averages values in the analysis to get less jumpy output.
start
Start the audio input device.