update()

The update method is run in the draw loop.

Accepts an FFT object. You must call .analyze() on the FFT object prior to updating the peakDetect because it relies on a completed FFT analysis.

シンタックス

update(fftObject)

パラメーター

fftObject
p5.FFT:

A p5.FFT object

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

関連するリファレンス