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