I don’t believe there is any function that will do what you want, but if you want to get your hands dirty you could add it to the C++ source, for example using Channel::getSpectrum in FMOD or whatever equivalent in OpenAL. I’ll probably be adding this eventually myself, atleast for FMOD, but it might not be until some months later.