adding simple spectrogram script to save data