p5.FFT

Analyze the frequency spectrum and waveform of sounds.

実例

シンタックス

p5.FFT([fftSize])

パラメーター

fftSize
Number: FFT anaylsis size. Must be a power of two between 16 and 1024. Defaults to 32.

メソッド

analyze
Returns the frequency spectrum of the input signal.
waveform
Returns an array of sample values from the input audio.
Notice any errors or typos? Please let us know. Please feel free to edit src/FFT.js and open a pull request!

関連するリファレンス