builtin Sound Effect

Get a sound expression string for a built-in sound effect.


A collection of built-in sound effects are available as sound expressions. You choose one by selecting the name of the effect


  • soundExpression: A sound expression name. The available effects are:
    • giggle
    • happy
    • hello
    • mysterious
    • sad
    • slide
    • soaring
    • spring
    • twinkle
    • yawn


  • a sound expression string with the the named sound effect.


Play the built-in sound effect for giggle.

music.playSoundEffect(music.builtinSoundEffect(soundExpression.giggle), SoundExpressionPlayMode.UntilDone)

See also

play sound effect, create sound effect