The Microsoft Cross-Platform Audio Creation Tool (XACT) is typically used by the audio designer to create an XACT project file (.xap) which is used to build the data files which the programmer will need to integrate XACT audio resources into game. Once the programmer plugs the game into XACT, the authoring tool can then be used to dynamically alter the sounds while the game is playing.
To get started, start the authoring tool. It should look something like this:
Figure 1. Blank XACT Project
When you open the tool, the project is blank. There's nothing defined. To understand the XACT, you'll first need to understand some XACT terminology:
To get started, you need to create a wave bank and a sound bank. To do this click in the menu "Wave Banks" | "New Wave Bank". A new wave bank will appear in the tree view under "Wave Banks" with the default name of "Wave Bank".
Then, create a new sound bank by clicking in the menu "Sound Banks" | "New Sound Bank". A new sound bank will appear in the tree view under "Sound Banks" with the default name of "Sound Bank". It should look like this:
Figure 2. New Sound and Wave Banks Created
Now to make things easy to see, click "Window" | "Tile Horizontally":
Figure 3. Windows Tiled Horizontally
The wave bank window lists all the waves current inside the wave bank. Currently there are none so you will need to add some. Make sure the Wave Bank window is active by clicking on it and choose in the menu "Wave Banks" | "Insert Wave File(s)..." and insert 1 or more wave files into the wave bank. You could have also hit Ctrl-W or right clicked on the Wave Bank window for a popup menu. After you've added some wave files, they will be listed in the Wave Bank window.
Figure 4. Wave Files Added
Now that there's a wave file in the wave bank, drag this wave from the wave bank to sound bank in the "Cue Name" panel. This will make XACT automatically create a new cue that's linked to a new sound that plays to this wave file.
Figure 5. New Cue Created
That's it! You have now setup your first complete but very simple XACT project. Now you can build this project and load the built XACT files with XACT API to play this cue in your game based on a game event. The cue we have set up will cause a single wave to be played but you can setup much more complex interactions when a cue is played.
To build the files, you will likely want to adjust build properties so the files are placed and named as you like. To do this, click on the "Wave Bank" in the tree view and adjust its "Build Name" and "Build Path" as you like and click on the "Sound Bank" in the tree view and adjust its "Build Name" and "Build Path" as you like. Then click File | "Build..." to create wave banks (*.xwb) and sound banks (*.xsb) based on the build settings.