Adding caching version of spectrogram