Change Tempo by () | |
change tempo by () | |
Category | Music |
Type | Stack |
Introduced in | 1.2 |
The Change Tempo by () block is a Music block and a Stack block. The block changes the project's tempo by the specified amount. Changing the tempo affects how long the Play Drum () for () Beats block and the Play Note () for () Beats block will play, due to the tempo affecting the length of a beat.
Example Uses
As this block changes the tempo (which determines how long each beat is), it is mainly used to speed up and slow down Play Drum () for () Beats and Play Note () for () Beats.
Some common uses for Change Tempo by () are:
- 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 music to match the speed of the needle
Workaround
- Main article: List of Block Workarounds
The block can be replicated with the following code:
set tempo to ((tempo) + (amount))