Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
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
| Type | Name | Description | |
|---|---|---|---|
FFFTPeakPitchDetector
(
const FFFTPeakPitchDetectorSettings& InSettings, |
Create an fft pitch detector with settings and a sample rate. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IPitchDetector
| Type | Name | Description | |
|---|---|---|---|
| void | DetectPitches
(
const FAlignedFloatBuffer& InMonoAudio, |
Detect pitches in the audio. This can be called repeatedly with new audio. | |
| void | Finalize
(
TArray< FPitchInfo >& OutPitches |
Resets internal audio buffers. This pitch detector does not produce any more pitches on Finalize. |