Reference onStep()

onStep()

Set the function that will be called at every step. This will clear the previous function.

Syntax

onStep(callback)

Parameters

callback
Function:

The name of the callback you want to fire on every beat/tatum.

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