@ -10,11 +10,11 @@ This function only works on the @boardname@ and in some browsers.
|
||||
music.beat(BeatFraction.Whole)
|
||||
```
|
||||
|
||||
### Parameters
|
||||
## Parameters
|
||||
|
||||
* ``BeatFraction`` means fraction of a beat (BeatFraction.Whole, BeatFraction.Sixteenth etc)
|
||||
|
||||
### Returns
|
||||
## Returns
|
||||
|
||||
* a [number](/types/number) that means the amount of milli-seconds a beat fraction represents.
|
||||
|
||||
@ -25,6 +25,6 @@ music.beat(BeatFraction.Whole)
|
||||
music.playTone(Note.C, music.beat(BeatFraction.Quarter))
|
||||
```
|
||||
|
||||
### See also
|
||||
## See also
|
||||
|
||||
[play tone](/reference/music/play-tone), [ring tone](/reference/music/ring-tone), [rest](/reference/music/rest), [set tempo](/reference/music/set-tempo), [change tempo by](/reference/music/change-tempo-by)
|
Reference in New Issue
Block a user