0
votes
1answer
168 views

How can I load 24-bit audio as SoundEffect?

When I try to load .wav file I get an error: Audio file *.wav contains 24-bit audio. Only 8-bit and 16-bit audio data is supported. Here is my code: SoundEffect menuSelectionChange = ...
-1
votes
1answer
86 views

XACT support outside of XNA?

I was building a new game in Monogame when I realized that it didn't have XACT support like XNA did. I was wondering if anyone knew another framework that could be used with or instead of MonoGame ...
2
votes
1answer
485 views

Portable sound and music for XNA / MonoGame?

What is the best (recommended) way to integrate audio (both sound effect and music) in a game project (using C#/XNA) targeting multiple desktop platforms (W7, W8 Metro, Linux, OSX, ...) via MonoGame. ...
3
votes
1answer
143 views

Are Xna XACT audio cues accurately timed enough for a loop sequencer?

Would it be possible to make an audio seqencer using XNA that works by triggering XACT cues periodically using a timer. Would the timing be precise enough to synchronize several audio clips into one ...
2
votes
2answers
352 views

Adjust treble and bass on Audio in XNA

I am trying to "muffle" the sounds that are being played in my game and the best way I can think of doing this, is by lowering the treble of the sound. I have looked through all the members of the ...
1
vote
1answer
260 views

How can I get a set of raw samples from an audio file in XNA 4.0?

In particular, I'd like to know how to get a set of audio samples that are compatible with the XNA's Sound API classes, such as the DynamicSoundEffectInstance class. I've used the ...
2
votes
1answer
362 views

Does SoundEffect.CreateInstance load from file everytime?

This is something which has been bugging me. If I create a SoundEffectInstance via SoundEffect.CreateInstance() I'm meant to dispose of it when I'm finished with it. SoundEffect.CreateInstance() does ...
6
votes
2answers
1k views

Sound emmiters with panning and volume in 2D

How can I create sound emmiters that pan and change volume based on distance from the player in a 2D game?
12
votes
2answers
2k views

Playing a Song causing WP7 to crash on phone, but not on emulator

I am trying to implement a song into a game that begins playing and continually loops on Windows Phone 7 via XNA 4.0. On the emulator, this works fine, however when deployed to a phone, it simply ...
3
votes
1answer
320 views

Xaudio2 XAPO Effects

I've been working with XAudio2. After looking at the samples, example code, and sparse documentation available from Microsoft and the MSDN, I've found that there aren't any easy-to-find resources on ...
9
votes
2answers
795 views

Can you record raw sound data in XNA?

XNA 4 includes the Microsoft.Xna.Framework.Audio.Microphone class which can seemingly read the raw sound data off the microphone via its API as documented: GetData - Gets the latest recorded data ...