Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


XACT Waves Audio Spectrum in XNA


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Nokame   Members   -  Reputation: 153

Like
0Likes
Like

Posted 29 December 2012 - 03:09 PM

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.



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS