Real-time Spectrum Analysis