Returns an array of average amplitude values of the spectrum, for a given set of Octave Bands NOTE: analyze() must be called prior to logAverages(). Analyze() tells the FFT to analyze frequency data, and logAverages() uses the results to group them into a smaller set of averages.
Syntax
logAverages(octaveBands)
Parameters
octaveBands
Array:
Array of Octave Bands objects for grouping
Returns
Array: logAverages Array of average amplitude values for each group
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!