Analyzing the frequency spectrum of audio