Jump to content
  • Advertisement
Sign in to follow this  
Nokame

XACT Waves Audio Spectrum in XNA

This topic is 2089 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there,

I'm using XNA 4.0 with C#... and am using XACT to play sound clips in my game.  I'm also using MediaPlayer to play mp3's in the background. What I want to do is show a visual audio spectrum of specific sounds which are .wav format.  I can get the visual data for the mp3's playing the background using:

 

VisualizationData visData = new VisualizationData();

MediaPlayer.GetVisualizationData(visData);

 

How do i get the same data from my XACT wave files?  I have no need for the visual spectrum of the background music, i want to show the visual data when certain sounds play.  Does XNA have an easy way to do this? If not, I'd like a suggestion as to what I would need to research in order to do this.

 

Nokame.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!