Compile error in spectrogram