Just grab a sample buffer, do a FFT on it and present the results on a GUI of your liking. I vaguely remember doing something like that when I was a child, for a sonar project I did... using 6502 assembly