<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.xna.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Audio/XACT</title><link>http://forums.xna.com/forums/28.aspx</link><description>Because silence isn't golden.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 0.0)</generator><item><title>Re: Pre-processing and non-realtime processing of audio files.</title><link>http://forums.xna.com/forums/thread/183188.aspx</link><pubDate>Wed, 27 May 2009 18:18:06 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:183188</guid><dc:creator>Shawn Hargreaves</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/183188.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=183188</wfw:commentRss><description>The XNA Framework MediaPlayer only provides visualization data while a song is playing. This is not designed for offline preprocessing.&lt;br /&gt;
&lt;br /&gt;
I don&amp;#39;t know personally of any other libraries that do this, but I&amp;#39;m sure many exist. You will need first a decoder to convert the song data into a PCM waveform (google for &amp;quot;mp3 decoder&amp;quot; will find many options), and then to run a fast fourier transform (FFT) over the PCM data to convert it into frequency bands (again google for &amp;quot;C# FFT&amp;quot; will find some options).&lt;br /&gt;</description></item><item><title>Pre-processing and non-realtime processing of audio files.</title><link>http://forums.xna.com/forums/thread/182942.aspx</link><pubDate>Wed, 27 May 2009 00:29:52 GMT</pubDate><guid isPermaLink="false">4aa5dbf6-357b-46b2-b5b2-1b660a6dc370:182942</guid><dc:creator>Nick Blake</dc:creator><slash:comments>0</slash:comments><comments>http://forums.xna.com/forums/thread/182942.aspx</comments><wfw:commentRss>http://forums.xna.com/forums/commentrss.aspx?SectionID=28&amp;PostID=182942</wfw:commentRss><description>I am looking to do pre-processing of visualization data on songs that are not currently playing.&lt;br /&gt;
It seems with MediaPlayer, you can only access the current sample of visualization data for the currently playing song.&lt;br /&gt;
&lt;br /&gt;
Are there other libraries that allow for generating a data structure of visualization data vs time of a song that has not been played?&lt;br /&gt;
Or is there a description of the math that XNA uses to calculate the data from the song being played?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;</description></item></channel></rss>