Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
XNA Developer Center
Home
Library
Learn
Downloads
Support
Community
Switch View :
Classic
Lightweight Beta
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
Development Tools and Languages
Please Wait
XNA Game Studio
Please Wait
XNA Game Studio 3.1
Please Wait
Programming Guide
Please Wait
Audio
Please Wait
Collapse All
Expand All
XNA Game Studio 3.1
Audio
Provides classes and methods for playing audio files.
In This Section
Audio Overview
The XNA Framework provides audio playback through the Microsoft Cross-Platform Audio Creation Tool (XACT), and a simple
SoundEffect
class for audio playback that doesn't require XACT.
Attenuation and Doppler Pitch Shifting Overview
Provides an overview of attenuation and Doppler pitch shifting.
How To: Play a Sound
Demonstrates how to play a sound.
How To: Play a Song
Demonstrates how to play a song from a user's media library.
How To: Loop a Sound
Demonstrates how to loop a sound.
How To: Change the Pitch or Volume of a Sound
Demonstrates how to change pitch and volume of a playing sound.
How To: Apply Basic 3D Positional Effects to a SoundEffect
Demonstrates how to apply 3D positioning effects to SoundEffects.
How To: Add a Sound File to Your Game Using XACT
Demonstrates how to add wave (.WAV) files to an XACT project that can be built and interpreted by an XNA Game Studio game to play audio.
How To: Play a Sound Using XACT
Demonstrates how to initialize the audio engine, load sound and wave banks, and play a sound by using a
Cue
object.
How To: Specify Background Music Using XACT
Demonstrates how to specify sound (.WAV) files as background music.
How To: Stop or Pause a Sound Using XACT
Demonstrates how to initialize the audio engine; load a sound bank and wave bank; and play, pause, resume, or stop a sound (called a cue).
How To: Change Sound Volume Levels Using XACT
Demonstrates how to initialize the audio engine and how to use categories to change the playback volume of a group of sounds.
How To: Stream a Sound Using XACT
Demonstrates how to create and use a streaming wave bank.
How To: Apply Basic 3D Positional Effects to a Cue
Demonstrates how to apply 3D positioning effects to cues.
How To: Apply Attenuation and Doppler 3D Audio Effects
Demonstrates how to apply attenuation and Doppler 3D positioning effects in code.
See Also
Concepts
Audio Content Catalog at XNA Creators Club Online
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement