Getting spectrum data of an audioclip before playing it

Hey everybody,
I am currently tinkering around with audio analysis in unity and I would like to get the spectrum data of an audio clip before playing it. It’s pretty much the same problem as mentioned here: How to use GetSpectrumData? - Unity Engine - Unity Discussions Sadly there is no solution in this thread. Is there any method to achieve this? I know that you can read the full sample data of an audioclip without playing it. But in this case, it would be necessary for me to implement an fft algorithm. Is this the only way of doing it or is there an easier solution?

Using GetSpectrumData, you could play the audio with the audio mixer volume turned off and get the spectrum data. Then turn the mixer volume up to play the clip. That’ll take the length of time of the clip though, so if you need it to be quicker I think you’d need a different FFT solution: