working on compensation and spectrogram display