Skip to content

getDefaultTempo()

Return the tempo the sequence was created with.

Parameters

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

midisequence.getDefaultTempo()

Returns

return defaultTempo

Value Type Description
defaultTempo int or float The default tempo, in beats per minute.