Update built files
This commit is contained in:
parent
a02f364a4c
commit
bfd34cedd6
@ -26,6 +26,6 @@
|
|||||||
"music.setTempo|param|bpm": "The new tempo in beats per minute, eg: 120",
|
"music.setTempo|param|bpm": "The new tempo in beats per minute, eg: 120",
|
||||||
"music.setVolume": "Set the output volume of the sound synthesizer.",
|
"music.setVolume": "Set the output volume of the sound synthesizer.",
|
||||||
"music.setVolume|param|volume": "the volume 0...256, eg: 128",
|
"music.setVolume|param|volume": "the volume 0...256, eg: 128",
|
||||||
"music.stopSounds": "Play a tone through the speaker for some amount of time.",
|
"music.stopAllSounds": "Play a tone through the speaker for some amount of time.",
|
||||||
"music.tempo": "Return the tempo in beats per minute (bpm).\nTempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play."
|
"music.tempo": "Return the tempo in beats per minute (bpm).\nTempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play."
|
||||||
}
|
}
|
@ -31,7 +31,7 @@
|
|||||||
"music.ringTone|block": "ring tone|at %note=device_note",
|
"music.ringTone|block": "ring tone|at %note=device_note",
|
||||||
"music.setTempo|block": "set tempo to %value|(bpm)",
|
"music.setTempo|block": "set tempo to %value|(bpm)",
|
||||||
"music.setVolume|block": "set volume %volume",
|
"music.setVolume|block": "set volume %volume",
|
||||||
"music.stopSounds|block": "stop all sounds",
|
"music.stopAllSounds|block": "stop all sounds",
|
||||||
"music.tempo|block": "tempo (bpm)",
|
"music.tempo|block": "tempo (bpm)",
|
||||||
"music|block": "music",
|
"music|block": "music",
|
||||||
"sounds.animalsCatPurr|block": "Animals cat purr",
|
"sounds.animalsCatPurr|block": "Animals cat purr",
|
||||||
|
8
libs/music/shims.d.ts
vendored
8
libs/music/shims.d.ts
vendored
@ -28,12 +28,12 @@ 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.
|
||||||
*/
|
*/
|
||||||
//% help=music/stop-sound
|
//% help=music/stop-all-sounds
|
||||||
//% blockId=music_stop_sounds block="stop all sounds"
|
//% blockId=music_stop_all_sounds block="stop all sounds"
|
||||||
//% parts="headphone"
|
//% parts="headphone"
|
||||||
//% blockNamespace=music
|
//% blockNamespace=music
|
||||||
//% weight=76 blockGap=8 shim=music::stopSounds
|
//% weight=76 blockGap=8 shim=music::stopAllSounds
|
||||||
function stopSounds(): void;
|
function stopAllSounds(): void;
|
||||||
|
|
||||||
/** Makes a sound bound to a buffer in WAV format. */
|
/** Makes a sound bound to a buffer in WAV format. */
|
||||||
//% shim=music::fromWAV
|
//% shim=music::fromWAV
|
||||||
|
Loading…
Reference in New Issue
Block a user