Get the current volume of a sound.
実例
シンタックス
p5.Amplitude([smoothing])
パラメーター
smoothing
Number: Smooth the amplitude analysis by averaging with the last analysis frame. 0.0 is no time averaging with the last analysis frame.
メソッド
setInput
Connect an audio source to the amplitude object.
getLevel
Get the current amplitude value of a sound.
smooth
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!