Getting the FFT data from a non-playing Soundfile

I’m desperately searching for a way to get the frequencys of a soundfile without having to play it.

I was shocked to see that the computespectrum method only processes real-time sound.
I made some research and came across this. Ok so now I’d have the array of the amplitudes.
Next step would be to make the Fast Fourier Transformation.

What I tried so far :

  • Load external C++ dll. With fftw and [URL=“http://www.northcode.com/swfstudio.php”]SwfStudio.
    I failed at understanding how to create an SwfStudio Plugin or even to understand how to implement that software in my actionscript code.

  • Try to Transform the C++ code to actionscript.
    Well, this guy could do it. He has exactly what I’m desperatly trying to do. If he’d ever release his source :cry3: but I failed at understanding how the transformation process works.

  • Letting Java do the work and then read the Data from an external swf.
    Ok, this could’ve worked if I could only use Actionscript 2. It seems that AS3 can’t read variables from imported AS2 swfs.

  • Do it yourself !
    No, my knowledge just isn’t high enough to understand all those complex things.
    I tried to transform a Java Library to Actionscript. But I lack at Java knowledge and failed.
    I even tried J2As

  • Try to understand how other people solved similar problems.
    This guy’s written some kind of a class wich would create an FFT effect on pictures.
    Unfortunately I didn’t see how I could use it in my situation :frowning:

as you see, I’m on a dead end. I didn’t even find any other possibilitys to try.

I’d greatly apreciate any help.