WLJS LogoWLJS Notebook

PitchRecognize

PitchRecognize[audio] recognizes the main pitch in audio, returning it as a TimeSeries object.

  • PitchRecognize[audio, spec] returns the main pitch processed according to the specified spec.
  • PitchRecognize[video, ...] recognizes the main pitch in the first audio track in video.

Examples

Recognize pitch from audio:

audio = ExampleData[{"Audio", "Apollo11SmallStep"}];
PitchRecognize[audio]

Get pitch as frequency values:

PitchRecognize[audio, "Frequencies"]

Plot pitch over time:

ListLinePlot[PitchRecognize[audio]]

Please visit the official Wolfram Language Reference for more details.

On this page