Hi! I need help on compressing audio files.
Our game music is making our XNA game quite huge. How do you make XNA compress the sound and music for the game when you deploy
XNA Game Studio Express
Hi! I need help on compressing audio files.
Our game music is making our XNA game quite huge. How do you make XNA compress the sound and music for the game when you deploy
That isn't entirely correct. You can compress the size of WAV files in XACT, it isn't as good as MP3 format, but it can pull down the size by 75%.
Right click on Compression Presets and to add a compression preset. You can change the compression by changing the "Samples per Block". Play with it, and you should find a reasonable comprise. You can add multiple presets if you want higher quality for some sounds and can get by with lower quality for others.
Then when you add each sound sample to your wave bank, in the Wave Bank Properties box in the lower left hand side of the screen use the preset in the "Compression Preset" drop down and select the preset(s) you created in the first step I mentioned above.
WilderLand wrote:
That isn't entirely correct. You can compress the size of WAV files in XACT, it isn't as good as MP3 format, but it can pull down the size by 75%.