Change Tempo By

Makes the tempo (speed of a piece of music) faster or slower by the amount you say.

Simulator

This function only works on the Calliope mini and in some browsers.

music.changeTempoBy(20)

Parameters

Examples

This program makes the music faster by 12 bpm.

music.changeTempoBy(12)

This program makes the music slower by 12 bpm.

music.changeTempoBy(-12)

See also

play tone, ring tone

Edit this page on GitHub