pxt-calliope/docs/reference/music/tempo.md
2016-07-18 10:39:41 -07:00

462 B

Tempo

Finds the tempo (speed of a piece of music).

music.tempo()

Returns

  • a number that means the beats per minute (number of beats in a minute of the music that the micro:bit is playing).

See also

play tone, ring tone, rest, set tempo, change tempo by