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.
Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!