FFFTPeakPitchDetector

FFT based pitch detector accel at detecting pitches at higher frequencies.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IPitchDetector

FFFTPeakPitchDetector

References

Module

AudioSynesthesiaCore

Header

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

Include

#include "FFTPeakPitchDetector.h"

Syntax

class FFFTPeakPitchDetector : public Audio::IPitchDetector

Remarks

FFT based pitch detector accel at detecting pitches at higher frequencies.

Constructors

Name Description

Public function

FFFTPeakPitchDetector

(
    const FFFTPeakPitchDetectorSettings...,
    float InSampleRate
)

Create an fft pitch detector with settings and a sample rate.

Destructors

Name Description

Public function Virtual

~FFFTPeakPitchDetector()

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.