FAutoCorrelationPitchDetector

Pitch detector based on autocorrelation.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IPitchDetector

FAutoCorrelationPitchDetector

References

Module

AudioSynesthesiaCore

Header

/Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/AutoCorrelationPitchDetector.h

Include

#include "AutoCorrelationPitchDetector.h"

Syntax

class FAutoCorrelationPitchDetector : public Audio::IPitchDetector

Remarks

Pitch detector based on autocorrelation.

that autocorrelation pitch detectors give more accurate frequency results for low frequencies, but have issues with octave errors. Generally, it will produce erroneous frequency observations in octaves below the true pitch frequency.

Constructors

Name Description

Public function

FAutoCorrelationPitchDetector

(
    const FAutoCorrelationPitchDetector...,
    float InSampleRate
)

Create an auto correlation pitch detector with settings and a sample rate.

Destructors

Overridden from IPitchDetector

Name Description

Public function Virtual

void

 

DetectPitches

(
    const FAlignedFloatBuffer& InMonoA...,
    TArray< FPitchInfo >& OutPitches
)

Detect pitches in the audio. This can be called repeatedly with new audio.

Public function Virtual

void

 

Finalize

(
    TArray< FPitchInfo >& OutPitches
)

Resets internal audio buffers. This pitch detector does not produce any more pitches on Finalize.