リファレンス 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
This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

関連するリファレンス