Returns an array of average amplitude values for a given number of frequency bands split equally. N defaults to 16. NOTE: analyze() must be called prior to linAverages(). Analyze() tells the FFT to analyze frequency data, and linAverages() uses the results to group them into a smaller set of averages.
Syntax
linAverages(N)
Parameters
N
Number:
Number of returned frequency groups
Returns
Array: linearAverages Array of average amplitude values for each group
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!