pxt-calliope/docs/reference/music/tempo.md
2016-05-23 17:21:36 -07:00

17 lines
468 B
Markdown

# Tempo
Finds the tempo (speed of a piece of music).
```sig
music.tempo()
```
### Returns
* a [Number](/reference/types/number) that means the bpm (beats per minute, or number of beats in a minute of the music that the micro:bit is playing).
### See also
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone), [rest](/reference/music/rest), [set tempo](/reference/music/set-tempo), [change tempo by](/reference/music/change-tempo-by)