Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
FFT based pitch detector accel at detecting pitches at higher frequencies.
| Name | FFFTPeakPitchDetector |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/FFTPeakPitchDetector.h |
| Include Path | #include "FFTPeakPitchDetector.h" |
Syntax
class FFFTPeakPitchDetector : public Audio::IPitchDetector
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFFTPeakPitchDetector
(
const FFFTPeakPitchDetectorSettings& InSettings, |
Create an fft pitch detector with settings and a sample rate. | FFTPeakPitchDetector.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FFFTPeakPitchDetector() |
FFTPeakPitchDetector.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComplexSpectrumBuffer | FAlignedFloatBuffer | FFTPeakPitchDetector.h | ||
| FFTAlgorithm | TUniquePtr< IFFTAlgorithm > | FFTPeakPitchDetector.h | ||
| FFTScaling | float | FFTPeakPitchDetector.h | ||
| FFTSize | int32 | FFTPeakPitchDetector.h | ||
| MaxFFTBin | int32 | FFTPeakPitchDetector.h | ||
| MinFFTBin | int32 | FFTPeakPitchDetector.h | ||
| PeakPicker | TUniquePtr< FPeakPicker > | FFTPeakPitchDetector.h | ||
| PowerSpectrumBuffer | FAlignedFloatBuffer | FFTPeakPitchDetector.h | ||
| SampleRate | float | FFTPeakPitchDetector.h | ||
| Settings | FFFTPeakPitchDetectorSettings | FFTPeakPitchDetector.h | ||
| SlidingBuffer | TSlidingBuffer< float > | FFTPeakPitchDetector.h | ||
| WindowBuffer | FAlignedFloatBuffer | FFTPeakPitchDetector.h | ||
| WindowCounter | int32 | FFTPeakPitchDetector.h | ||
| ZeroPaddedAnalysisBuffer | FAlignedFloatBuffer | FFTPeakPitchDetector.h |
Functions
Public
Overridden from IPitchDetector
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void DetectPitches
(
const FAlignedFloatBuffer& InMonoAudio, |
Detect pitches in the audio. This can be called repeatedly with new audio. | FFTPeakPitchDetector.h | |
virtual void Finalize
(
TArray< FPitchInfo >& OutPitches |
Resets internal audio buffers. This pitch detector does not produce any more pitches on Finalize. | FFTPeakPitchDetector.h |