Microsoft.Xna.Framework.Audio.SoundEffectInstance

Introduction The SoundEffectInstance is a copy of a SoundEffect which can be played on its own. Each SoundEffectInstance can only be played once at a time. Therefore if two sounds must overlap, then two SoundEffectInstances are needed. By contrast, calling SoundEffect.Play multiple times will result in overlapping sounds. Although the SoundEffectInstance requires multiple instances for[…]

Glue:How To:Play Sounds

Introduction FlatRedBall supports playing sound effects. Sound effects are typically created using .wav files. The following file can be used for testing: Create.wav Adding a SoundEffect to a Screen The following will show you how to add a SoundEffect to a Screen. The same method can be used to add a SoundEffect to an Entity[…]