Jump to content
  • Advertisement
Sign in to follow this  
Uphoreum

[.net] [XNA] Grab Audio Data

This topic is 4171 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

Is there a way, in XNA, to grab the audio information that's currently (excuse me if my audio terminology is wrong here) streaming through the sound card? Basically, I want to grab the information I would need to implement a bar audio visualizer type thing, so, I guess the different frequencies that are playing. If you can't do this in XNA, can you do it in DirectX?

Share this post


Link to post
Share on other sites
Advertisement
The audio features in XNA are still pretty limit (basically playback only) although it looks like MS will change this in the future for now you are stuck with DirectX or MDX, XNA audio is built on top of DirectX at the moment anyway.
(Won't work with the Xbox360 though)

Could also be done with the Platform SDK Win32, but its not as powerful as DirectX.

Share this post


Link to post
Share on other sites
I recommend you look into the WaveOut (or maybe WaveIn?) API. It won't work on XBox360 of course, but try this: http://msdn2.microsoft.com/en-us/library/aa446573.aspx. Good luck with it.

Share this post


Link to post
Share on other sites
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!