Reference setInput()

setInput()

Set the input source for the FFT analysis. If no source is provided, FFT will analyze all sound in the sketch.

Syntax

setInput([source])

Parameters

source
Object:

p5.sound object (or web audio API source node)

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

Related References