Fixing parameters

This commit is contained in:
Ron Hale-Evans 2016-07-18 10:39:41 -07:00
parent df5989760c
commit 1831c30050
6 changed files with 13 additions and 8 deletions

View File

@ -13,7 +13,9 @@ music.changeTempoBy(20)
### Parameters ### Parameters
* a [number](/reference/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 micro:bit is playing). * ``bpm`` is a [number](/reference/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 micro:bit is playing).
### Examples ### Examples

View File

@ -12,8 +12,8 @@ music.playTone(440, 120)
### Parameters ### Parameters
* `Hz` is the [Number](/reference/types/number) of Hertz (the frequency, how high or low the tone is). * ``frequency`` is the [number](/reference/types/number) of Hertz (how high or low the tone is).
* `ms` is the [Number](/reference/types/number) of milliseconds that the tone lasts. * ``ms`` is the [number](/reference/types/number) of milliseconds that the tone lasts
## Example ## Example

View File

@ -12,7 +12,9 @@ music.rest(400)
### Parameters ### Parameters
* a [number](/reference/types/number) saying how many milliseconds the micro:bit should rest. One second is 1000 milliseconds. * ``ms`` is a [number](/reference/types/number) saying how many
milliseconds the micro:bit should rest. One second is 1000
milliseconds.
## Example ## Example

View File

@ -13,8 +13,8 @@ music.ringTone(440)
### Parameters ### Parameters
* a [number](/reference/types/number) that says the tone's * ``frequency`` is a [number](/reference/types/number) that says
**frequency** (how high-pitched or low-pitched the tone is). This how high-pitched or low-pitched the tone is. This
number is in **Hz** (**Hertz**), which is a measurement of frequency number is in **Hz** (**Hertz**), which is a measurement of frequency
or pitch. or pitch.

View File

@ -11,7 +11,7 @@ This function only works on the micro:bit and in some browsers.
### Parameters ### Parameters
* a [number](/reference/types/number) that means the bpm you want (beats per minute, or number of beats in a minute of the music that the micro:bit is playing). * ``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 micro:bit is playing).
### See also ### See also

View File

@ -8,7 +8,8 @@ music.tempo()
### Returns ### Returns
* a [Number](/reference/types/number) that means the bpm (beats per minute, or number of beats in a minute of the music that the micro:bit is playing). * a [number](/reference/types/number) that means the beats per minute (number of
beats in a minute of the music that the micro:bit is playing).
### See also ### See also