21 lines
408 B
Markdown
21 lines
408 B
Markdown
|
# Change Tempo By
|
||
|
|
||
|
Change the tempo by the specified amount
|
||
|
|
||
|
## Simulator
|
||
|
|
||
|
Simulation of this function is available in many, but not all browsers.
|
||
|
|
||
|
```sig
|
||
|
music.changeTempoBy(20)
|
||
|
```
|
||
|
|
||
|
### Parameters
|
||
|
|
||
|
* `bpm` : [Number](/microbit/reference/types/number) - change the tempo by beats per minute
|
||
|
|
||
|
### See also
|
||
|
|
||
|
[play tone](/microbit/reference/music/play-tone), [ring tone](/microbit/reference/music/ring-tone)
|
||
|
|