Search Spectral Audio Signal Processing
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Octave and the Matlab Signal Processing Tool Box provide the command specgram for computing and displaying a spectrogram. As a side effect, it returns the complex STFT data in a matrix.F.1
The spectrogram function below illustrates computation of a spectrogram in matlab for purposes of basic spectrum analysis. It is compatible with the basic functionality of Matlab's specgram function, but does not implement all of its features.
We also include invspectrogram, which provides an inversion of the spectrogram to produce the original signal (when this is possible). In other words, invspectrogram synthesizes a time-domain signal from a given STFT. Finally, testspectrogram is included for trying things out.
