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
* 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

View File

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

View File

@ -12,7 +12,9 @@ music.rest(400)
### 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

View File

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

View File

@ -11,7 +11,7 @@ This function only works on the micro:bit and in some browsers.
### 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

View File

@ -8,7 +8,8 @@ music.tempo()
### 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