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

452 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 @boardname@ is playing).

See also

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