Navigation
API > API/Plugins > API/Plugins/AudioSynesthesiaCore
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. Note 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
| Type | Name | Description | |
|---|---|---|---|
FAutoCorrelationPitchDetector
(
const FAutoCorrelationPitchDetectorSettings& InSettings, |
Create an auto correlation 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. |