2.1.28, initiation update to PXT v5.28.24 (#54)
This commit is contained in:
committed by
Peli de Halleux
parent
38a964516e
commit
5c114a0c57
@@ -3,21 +3,23 @@
|
||||
Makes the [tempo](/reference/music/tempo) (speed of a piece of music)
|
||||
faster or slower by the amount you say.
|
||||
|
||||
## Simulator
|
||||
|
||||
This function only works on the @boardname@ and in some browsers.
|
||||
|
||||
```sig
|
||||
music.changeTempoBy(20)
|
||||
```
|
||||
|
||||
### Parameters
|
||||
## ~ hint
|
||||
|
||||
* ``bpm`` is a [number](/reference/types/number) that says how much to
|
||||
**Simulator**: This function only works on the @boardname@ and in some browsers.
|
||||
|
||||
## ~
|
||||
|
||||
## Parameters
|
||||
|
||||
* ``bpm`` is a [number](/types/number) that says how much to
|
||||
change the bpm (beats per minute, or number of beats in a minute of
|
||||
the music that the @boardname@ is playing).
|
||||
|
||||
### Examples
|
||||
## Examples
|
||||
|
||||
This program makes the music faster by 12 bpm.
|
||||
|
||||
@@ -31,7 +33,7 @@ This program makes the music _slower_ by 12 bpm.
|
||||
music.changeTempoBy(-12)
|
||||
```
|
||||
|
||||
### See also
|
||||
## See also
|
||||
|
||||
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user