SpectrogramArray
SpectrogramArray[list] returns the spectrogram data of list.
SpectrogramArray[list, n]uses partitions of length n.SpectrogramArray[list, n, d]uses partitions with offset d.SpectrogramArray[list, n, d, wfun]applies a smoothing window wfun to each partition.SpectrogramArray[list, n, d, wfun, m]pads partitions with zeros to length m prior to the computation of the transform.SpectrogramArray[audio, ...]returns spectrogram data of audio.SpectrogramArray[video]returns the spectrogram data of the first audio track in video.
Examples
Get spectrogram data from a signal:
data = Table[Sin[100 t] + Sin[200 t], {t, 0, 1, 0.001}];
SpectrogramArray[data]With specified partition length:
SpectrogramArray[data, 128]Apply a Hamming window:
SpectrogramArray[data, 256, 64, HammingWindow]Please visit the official Wolfram Language Reference for more details.