Update built files

This commit is contained in:
System Administrator 2017-12-15 11:04:16 -08:00
parent a02f364a4c
commit bfd34cedd6
3 changed files with 6 additions and 6 deletions

View File

@ -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."
}

View File

@ -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",

View File

@ -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