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
@@ -5,15 +5,17 @@ Makes the tempo (speed of a piece of music) as fast or slow as you say.
|
||||
```sig
|
||||
music.setTempo(60)
|
||||
```
|
||||
## Simulator
|
||||
## ~ hint
|
||||
|
||||
This function only works on the @boardname@ and in some browsers.
|
||||
**Simulator**: This function only works on the @boardname@ and in some browsers.
|
||||
|
||||
### Parameters
|
||||
## ~
|
||||
|
||||
* ``bpm`` is a [number](/reference/types/number) that means the beats per minute you want (the number of beats in a minute of the music that the @boardname@ is playing).
|
||||
## Parameters
|
||||
|
||||
### See also
|
||||
* ``bpm`` is a [number](/types/number) that means the beats per minute you want (the number of beats in a minute of the music that the @boardname@ is playing).
|
||||
|
||||
## See also
|
||||
|
||||
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone) , [rest](/reference/music/rest), [tempo](/reference/music/tempo), [change tempo by](/reference/music/change-tempo-by)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user