xaudio2

Play a single note with DirectMusic

I'm using DirectMusic for MIDI playback in an application I'm developing. Does anyone know if it's possible to use DirectMusic to play individual notes? Currently, I'm converting an in-memory data structure that represents entire 'songs' into a MIDI buffer and playing it back through DirectMusic. I'd like to be able to play individual no...

Strange File Not Found errors with mmioOpen

Ive been playing around with XAudio2 but have encountered some strange problems with the mmioOpen function For some reason it seems to fail with MMIOERR_FILENOTFOUND, even though the file is there, in fact the file is in the same directory as other files I'm loading which work fine... The wav files im using to test with are just the on...

Displaying a video in DirectX

What is the best/easiest way to display a video (with sound!) in an application using XAudio2 and Direct3D9/10? At the very least it needs to be able to stream potentially larger videos, and take care of the fact that the windows aspect ratio may differ from the videos (eg by adding letter boxes), although ideally Id like the ability to...

XAudio2 and variable bitrate audio

How do I go about correctly playing audio files which may have a variable bitrate (and even a variable number of channels in some cases), such as ogg/vorbis? XAudio expects this information in a WAVEFORMATEX structure on creation of the source voice, and doesn't seem to provide a means to change it for each buffer thats submitted... ...

Audio libraries for digital signal processing in C#

Hello all, My problem is this: I'm developing a reasonably small application (which needs to be able to grow in the future, but for now, limited functionality will suffice) which recieves audio (16bit mono @ 44.1kHz) and performs fourier transforms and filtering on the data. My experience with all the fields you can imagine this invol...

XAudio2, starting/stopping loops?

How can I start/stop audio looping in IXAudio2SourceVoice? Basically it has a start/stop which starts and pauses the audio execution as well as an ExitLoop() function which stpos the audio once it has finished playing. What I'd like to do is call 'ExitLoop()' then at a later time restart the looping process. How can I do this? ...

Need Resources on XAPO Effects for XAudio2

I've been working with XAudio2 lately. After going over the samples, example code, and more-sparse-than-I'd-like documentation available from Microsoft and the MSDN, I've found that there aren't any easy-to-Google resources on creating and using XAPO effects, nor any XAPO effects produced by third parties that I can download and/or buy....

Can XAPO filters be applied globally?

I was looking into Microsoft XAudio2 XAPO and I guess it is only for audio streams that are sent through XAudio2, or can it be applied as a system-wide audio filter? ...