61c06ad969
* docs * updated strings
506 B
506 B
Stop Melody
Stops playing a musical melody.
Simulator
music.stopMelody(MelodyStopOptions.All)
Parameters
options
specifies which melodies (foreground, background or both) need to be stopped
Example
This example plays the Entertainer
built-in melody.
music.beginMelody(music.builtInMelody(Melodies.Entertainer), MelodyOptions.Forever)
basic.pause(5000)
music.stopMelody(MelodyStopOptions.All)