XNA for C#
DirectX 9 for C#
DirectX 9 for C++
DirectX 9 for VB
Forum
   
My XNA Book
      
       Go to section on this site

Additional info


Latest Forum posts

 Tutorial 3 for Windows Phone 7
  Posted by: Anonymous
  When: 20/05/2013 at 02:30:13

 No download link for 2d series: shooter
  Posted by: zaboleq
  When: 07/05/2013 at 15:46:28

 Collision Class?
  Posted by: Anonymous
  When: 05/05/2013 at 19:03:59

 stack overflow
  Posted by: cityguy
  When: 07/04/2013 at 01:58:38

 Meshes looks strange.
  Posted by: ab_saratov
  When: 01/04/2013 at 04:31:08

 Lamppost Not loaded
  Posted by: Anonymous
  When: 22/03/2013 at 06:43:52

 Collision Class?
  Posted by: Da_Boom
  When: 21/03/2013 at 01:23:09

 Math boggles me
  Posted by: cityguy
  When: 17/03/2013 at 03:44:48

 Collision Class?
  Posted by: Da_Boom
  When: 16/03/2013 at 03:44:42

 Tree update
  Posted by: Anonymous
  When: 15/03/2013 at 21:11:22


Ads




XNA 3.0 Game Programming Recipes

Riemer Grootjans







Chapter 7: Adding Sounds to Your XNA 3.0 Project (12 pages)

Even the game with the best game play doesn’t feel like a lot of fun if it doesn’t have any sounds. If you add a suitable sound to your visual effects together with a background score, your game will immediately feel a lot more finished.
This short chapter shows you how easy it is to add sounds to your XNA project and to manage them.

7-1. Play and Control Simple .wav Sound Files
Since XNA 3.0, it is extremely easy to play and control sound effects in your game. This recipe gets you started in no time.

7-2. Play MP3 or WMA Sound Files
XNA 3.0 supports MP3 and WMA sound files, which you can use to add a background score to your game.

7-3. Play Simple .wav Sound Files Through XAct
This recipe introduces you to XAct the sound management utility of the XNA 3.0 Framework. You learn the simple steps on how to import sounds, and create an XAct project.

7-4. Loop Sounds
This recipe shows you how you can continuously loop one sound, which is useful for e.g. an engine. Also, you learn how you can dynamically queue up multiple sounds for a background score.

7-5. Play Sounds from a 3D Location Relative to the Camera: 3D Sound
Here you learn how sounds can be used in 3D games. You specify the location of the camera and the location of source of the sound, and XNA automatically adjusts the volume over the speakers.



Google
 
Webwww.riemers.net


If you appreciate the amount of time I spend creating and updating
these pages, feel free to donate -- any amount is welcome !



- Website design & XNA + DirectX code : Riemer Grootjans -
©2003 - 2011 Riemer Grootjans
Translations

This site in English
This site in Korean
This site in Czech

Microsoft MVP Award



2007 - 2011 MVP Award
DirectX - XNA

Contents

News
Home
Forum
XNA 2.0 Recipes Book (8)
XNA 3.0 Recipes Book (8)
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Downloads
Extra Reading (3)
Matrices: geometrical
Matrix Mathematics
Homogenous matrices
Community Projects (1)
Tutorials (160)
-- Expand all --


Thank you!

Support this site --
any amount is welcome !

Stay up-to-date

I don't have the time to keep a News section, so stay informed about the updates by clicking on this RSS file!