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

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