リファレンス linAverages()

linAverages()

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.

シンタックス

linAverages(N)

パラメーター

N
Number:

Number of returned frequency groups

リターン

Array: linearAverages 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!

関連するリファレンス