Introduction:
I would like to thank Ianier Munoz, Profox Jase, pj4533, Joshua Belden and others for their contributions which inspired this article and as well as a small portion of code. The purpose of this article is to give example of how to implement the built in effects of
DirectX.DirectSound
.
Requirements:
- A basic knowledge of C#
- DirectX 9.0 summer update 2004
- Visual Studio.NET 2003
Getting Started
To build this project you will need to make sure that the DirectX summer 2004 update is installed. If you are unable to build the project, managed DirectX might not be installed. Try installing from the command prompt while using an argument as described in the Managed DirectX documentation. (filename: directx9_m.chm)
In the "Run Command" prompt, type:
{path}\DXSetup.exe /InstallManagedDX
Open the project that accompanies the article.
Add the Microsoft.DirectX and Microsoft.DirectX.DirectSound references.
Build the project.
After it's built
Not all wav files will work. If the application crashes, try a different wav file.
Jack Johnston - jackjohnston99@hotmail.com