Extracting audio spectrum data in WP7

I was very unhappy when I realized that MediaLibrary GetVisualizationData () returns a bunch of zeros in WP7. What are the other approaches I could take to compute and extract the sound spectrum data from my MediaLibrary song collection?

PS The way it is written suggests that I am working on an XNA project. I would be happy to accept even Silverlight approaches, as this is a more general problem that I am struggling with

+5
source share
3 answers

You will have to write your own algorithm. It's not quite simple, but what you are looking for is Beat Detection (there are links on this page to get you started).

EDIT: Here are some Java source code for detecting bits from the Mimim library.

+8
source

In the documentation (at the time of this writing):
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.media.mediaplayer.isvisualizationenabled.aspx

"Visualization data is not available on Windows Phone. Any attempt to get visualization data on the phone will populate the VisualizationData class with 0s."

, Windows, . , , , : -)

+5

, , . Beat Detection, JWatte. .

- Silverlight, .

- Silverlight FFT .

+3

All Articles