pxt-calliope/docs/reference/music/set-tempo.md

17 lines
453 B
Markdown
Raw Normal View History

2016-03-26 00:47:20 +01:00
# Set Tempo
Sets the tempo to the specified amount
```sig
music.setTempo(60)
```
### Parameters
* Returns : [Number](/microbit/reference/types/number) - sets the tempo in beats per minute
### See also
[play tone](/microbit/reference/music/play-tone), [ring tone](/microbit/reference/music/ring-tone) , [rest](/microbit/reference/music/rest), [tempo](/microbit/reference/music/tempo), [change tempo by](/microbit/reference/music/change-tempo-by)