Smooth Amplitude analysis by averaging with the last analysis frame. Off by default.
Syntax
smooth(set)
Parameters
set
smoothing from 0.0 <= 1
Notice any errors or typos? Please let us know. Please feel free to edit
lib/addons/p5.sound.js
and open a pull request!
Related References
getLevel
Returns a single Amplitude reading at the moment it is called.
setInput
Connects to the p5sound instance (main output) by default.
smooth
Smooth Amplitude analysis by averaging with the last analysis frame.
toggleNormalize
Determines whether the results of Amplitude.process() will be Normalized.