From Test-Scratch-Wiki

Revision as of 02:34, 13 June 2016 by InterwikiBot (talk | contribs) (Uploading Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Translate: - English - 中文 
Set Tempo to () bpm
2.0 Set Tempo to () bpm.png
Category Sound
Type Stack
Introduced in 1.2

The Set Tempo to () bpm block is a Sound block and a Stack block. The block sets the Scratch project's tempo, or speed, to the specified amount, using the unit "bpm", or "beats per minute".

Example Uses

As this block changes the tempo, it is mainly used to speed up and slow down the Play Drum () for () Beats block and the Play Note () for () Beats block.

Some common uses for the Set Tempo to () bpm block:

  • Changing the speed of songs made with the Sound blocks
  • A music mixer
  • In a project, using a record player and setting the speed of the needle

If one wants a beat to be equal to 1 second or relative to one second (as in previous play drum and play note blocks) they can set the bpm to 60.


Main article: List of Block Workarounds

This block can be replicated with the following code:

change tempo by ((amount) - (tempo))

See Also