Spectrum Analyser And Lua

Is it possible to get Spectrum analyzer data with lua?