Friday, January 29, 2010

XNA Sound Class [SoundEffect & SoundEffectInstance]

 

We've taken SoundEffect and SoundEffectInstance XNA sound classes and encapsulated them to make a robust sound framework that allows for the quick and easy edition of music and sound files in our ionXgame framework. Since we're using the main functionality of the SoundEffectInstance class, our sounds can be started, paused, resumed and stopped with just a method call to the class. We put together this program sample to demonstrate the abilities. Supported are wav, mp3 and wma with play, pause, resume, stop, loop, pan, pitch, volume and 3D sound.

Video to be added soon.

No comments:

Post a Comment