Spectrogram: bug fix in from_spectra