From bfd34cedd61fa44cbbee19597ef88f097164e8d7 Mon Sep 17 00:00:00 2001 From: System Administrator Date: Fri, 15 Dec 2017 11:04:16 -0800 Subject: [PATCH] Update built files --- libs/music/_locales/music-jsdoc-strings.json | 2 +- libs/music/_locales/music-strings.json | 2 +- libs/music/shims.d.ts | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/music/_locales/music-jsdoc-strings.json b/libs/music/_locales/music-jsdoc-strings.json index d06a5b53..e73f87ba 100644 --- a/libs/music/_locales/music-jsdoc-strings.json +++ b/libs/music/_locales/music-jsdoc-strings.json @@ -26,6 +26,6 @@ "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|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." } \ No newline at end of file diff --git a/libs/music/_locales/music-strings.json b/libs/music/_locales/music-strings.json index 0e0cfc2f..7cef7803 100644 --- a/libs/music/_locales/music-strings.json +++ b/libs/music/_locales/music-strings.json @@ -31,7 +31,7 @@ "music.ringTone|block": "ring tone|at %note=device_note", "music.setTempo|block": "set tempo to %value|(bpm)", "music.setVolume|block": "set volume %volume", - "music.stopSounds|block": "stop all sounds", + "music.stopAllSounds|block": "stop all sounds", "music.tempo|block": "tempo (bpm)", "music|block": "music", "sounds.animalsCatPurr|block": "Animals cat purr", diff --git a/libs/music/shims.d.ts b/libs/music/shims.d.ts index 4778d66b..61f381a4 100644 --- a/libs/music/shims.d.ts +++ b/libs/music/shims.d.ts @@ -28,12 +28,12 @@ declare namespace music { /** * Play a tone through the speaker for some amount of time. */ - //% help=music/stop-sound - //% blockId=music_stop_sounds block="stop all sounds" + //% help=music/stop-all-sounds + //% blockId=music_stop_all_sounds block="stop all sounds" //% parts="headphone" //% blockNamespace=music - //% weight=76 blockGap=8 shim=music::stopSounds - function stopSounds(): void; + //% weight=76 blockGap=8 shim=music::stopAllSounds + function stopAllSounds(): void; /** Makes a sound bound to a buffer in WAV format. */ //% shim=music::fromWAV