Reference setBPM()

setBPM()

Set the global tempo, in beats per minute, for all p5.Parts. This method will impact all active p5.Parts.

Syntax

setBPM(BPM, rampTime)

Parameters

BPM
Number:

Beats Per Minute

rampTime
Number:

Seconds from now

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