working on smoothing spectrogram