Play Sound

Description

The Play Sound behavior will play a sound effect when triggered. This is perfect for short sounds and shouldn't be used for music. If you want to play music use the Play Music behavior.

This behavior will trigger an event after a delay (when the sound is done playing).

 

Properties

Triggers after a Delay

Sound

This is the sound effect you want to play. You can select any sound from the asset library.

Volume

Set how loud or quiet you want the sound to play. The default is 100

Pan

Set the balance of the device speakers. This will change how much sound plays from the left or right speaker. 

0 is the center, negative numbers imply left speaker, positive number imply right speaker.

eg.

-100 will play from the left speaker only.

Pitch

Choose how high or low you want the sound to play.

The higher the number, the higher the pitch for the sound.

The default value is 100.

 

Outputs

This behavior does not have any outputs.

 

Examples

If you want to play a sound every time the you touch a button, connect the play sound to a started touching behavior.

 

Related

Stop All Sound Effects

Set Sound Settings

 

PlaySoundReference.gif

0 Comments

Article is closed for comments.