Analyse frequencies of audio-waveform with FFT Fast Fourier Transform

Hey there,

couldn’t find any solution for my problem yet, so I hope you can help me!

I need to do an inverse Fast Fourier Transform (FFT) with an mp3 or wav input-file in Grasshopper.
The goal is to get the percentage of certain frequency-ranges (like 60-250 Hz Bass or 500 Hz - 2 kHz Midrange) of the audio-file, so that for instance I am able to see whether there are a high amount of Mid-frequencies (piano, voice, etc.) or high/low frequencies. In a next step, I want to link the different frequency-ranges to certain parameters of my Geometry. For instance, if high frequencies are dominating the surface of the geometry transforms.

I tried to work with the FFT-component from Mosquito-plugin or Firefly and Millipede… I even tried to use some C# / Python-codes and integrated them in the C#/Python components, but nothing worked…

Any ideas?