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)

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References