setTempo()
Set the metronome's tempo.
Parameters
Once an object metronome has been created, you can use the following function:
metronome.setTempo(tempo)
| Parameter | Type | Default | Description |
|---|---|---|---|
tempo |
int or float |
required | The new tempo, in beats per minute. |