updated shims
This commit is contained in:
parent
bba0af6193
commit
f95b39cd62
4
libs/music/shims.d.ts
vendored
4
libs/music/shims.d.ts
vendored
@ -15,8 +15,8 @@ declare namespace music {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Play a tone through the speaker for some amount of time.
|
* Play a tone through the speaker for some amount of time.
|
||||||
* @param frequency pitch of the tone to play in Hertz (Hz)
|
* @param frequency pitch of the tone to play in Hertz (Hz), eg: Note.C
|
||||||
* @param ms tone duration in milliseconds (ms)
|
* @param ms tone duration in milliseconds (ms), eg: BeatFraction.Half
|
||||||
*/
|
*/
|
||||||
//% help=music/play-tone
|
//% help=music/play-tone
|
||||||
//% blockId=music_play_note block="play tone|at %note=device_note|for %duration=device_beat"
|
//% blockId=music_play_note block="play tone|at %note=device_note|for %duration=device_beat"
|
||||||
|
Loading…
Reference in New Issue
Block a user