pxt-calliope/docs/reference/music/tempo.md
2017-03-16 07:57:41 -07:00

18 lines
454 B
Markdown

# Tempo
Finds the tempo (speed of a piece of music).
```sig
music.tempo()
```
### Returns
* a [number](/types/number) that means the beats per minute (number of
beats in a minute of the music that the @boardname@ 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)