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"