Cleaned up spectrogram demo script