AirMess Sound Visualizer

April 20, 2014

Trying out a new audio visualizer for fun 🙂


4 Responses to “AirMess Sound Visualizer”

  1. Heshan Says:

    How do you get the visualization from an audio file in WinRT? Are there any libraries? Thx!

    • LUCCIN Karim Says:


      At first I was using NAudio for that ( http://naudio.codeplex.com/ ) and there’s a tutorial attached, but it failed the Store certification.

      So now I’m using FMODex ( http://www.fmod.org/ ) which is working for WinRT.
      Once you play a sound using FMOD you can retrieve the spectrum like this:
      // Get for the left and right channels
      var a1 = music._channel.getSpectrum(levelsBufferRight, levelsBufferRight.Length, 0, FMOD.DSP_FFT_WINDOW.HAMMING);
      var a2 = music._channel.getSpectrum(levelsBufferLeft, levelsBufferLeft.Length, 1, FMOD.DSP_FFT_WINDOW.HAMMING);

      Then it’s all about tweaking the result to make it look “nice”.

  2. Heshan Says:

    Thank you for the info. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: