[.net] [XNA] Grab Audio Data

Started by
2 comments, last by alex_myrpg 17 years ago
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?
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.
Thanks, I figured that was the case.
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.

This topic is closed to new replies.

Advertisement