Skip to content

setTempo()

Set the sequence's playback tempo.

Parameters

Once an object midisequence has been created, you can use the following function:

midisequence.setTempo(bpm)
Parameter Type Default Description
bpm int or float required The new tempo, in beats per minute.