adding defaults to music

This commit is contained in:
Peli de Halleux 2018-03-30 15:45:36 -07:00
parent a8a92ca806
commit bba0af6193
2 changed files with 3 additions and 3 deletions

View File

@ -136,8 +136,8 @@ void playSample(Buffer buf) {
/**
* Play a tone through the speaker for some amount of time.
* @param frequency pitch of the tone to play in Hertz (Hz)
* @param ms tone duration in milliseconds (ms)
* @param frequency pitch of the tone to play in Hertz (Hz), eg: Note.C
* @param ms tone duration in milliseconds (ms), eg: BeatFraction.Half
*/
//% help=music/play-tone
//% blockId=music_play_note block="play tone|at %note=device_note|for %duration=device_beat"

View File

@ -45,7 +45,7 @@
"webfonts-generator": "^0.4.0"
},
"dependencies": {
"pxt-common-packages": "0.20.30",
"pxt-common-packages": "0.20.31",
"pxt-core": "3.7.1"
},
"scripts": {