WLJS LogoWLJS Notebook

Spectrogram

Spectrogram[list] plots the spectrogram of list.

  • Spectrogram[list, n] uses partitions of length n.
  • Spectrogram[list, n, d] uses partitions with offset d.
  • Spectrogram[list, n, d, wfun] applies a smoothing window wfun to each partition.
  • Spectrogram[list, n, d, wfun, m] pads partitions with zeros to length m prior to the computation of the transform.
  • Spectrogram[audio, ...] plots the spectrogram of audio.
  • Spectrogram[video] plots the spectrogram of the first audio track in video.

Examples

Spectrogram[Table[Sin[2 Pi t (1 + t/10)], {t, 0, 10, 0.001}]]
Spectrogram[ExampleData[{"Sound", "Bird"}]]
Spectrogram[data, 256, 128, HammingWindow]

*See the official Wolfram Language Reference for more details.

On this page