Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Adjusts the tempo of music played on the micro:bit by a specified number of beats per minute.
The Change Tempo By function allows users to modify the tempo (speed) of a piece of music played on the micro:bit. By specifying a number of beats per minute (bpm), users can make the music play faster or slower. This feature is particularly useful in educational settings where students can learn about music dynamics and programming simultaneously.
music.changeTempoBy(value).