Works with Calliope mini V3

This block requires the Calliope mini V3 hardware. If you use this block with a previous Calliope mini board, you will see the 927 error code on the screen.
Play a sound that is generated from a sound expression.
music.playSoundEffect("", SoundExpressionPlayMode.UntilDone)
This will play a Sound object created from a sound expression. The sound will play for the duration that was set in the sound expression. The sound can play on the speaker or at a pin that is set for sound output.
Your program can wait for the sound to finish before it runs its next step. To do this, set the play mode to until done. Otherwise, use background for the program to continue immediately after the sound starts.
until done or background.Play a sound from a sound expression for 1 second.
music.playSoundEffect(music.createSoundEffect(WaveShape.Sine, 2000, 0, 1023, 0, 1000, SoundExpressionEffect.None, InterpolationCurve.Linear), SoundExpressionPlayMode.UntilDone)
create sound effect, built-in sound effect, analog set pitch pin