Navigation
Unreal Engine C++ API Reference > Plugins > AudioSynesthesiaCore
References
Module | AudioSynesthesiaCore |
Header | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesiaCore/Public/LoudnessAnalyzer.h |
Include | #include "LoudnessAnalyzer.h" |
Syntax
class FLoudnessAnalyzer
Remarks
FLoudnessAnalyzer will calculate perceptual energy or loudness one window at a time. This analyzer only handles mono audio. See FMultichannelLoudnessAnalyzer for multichannel support.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FLoudnessAnalyzer
(
float InSampleRate, |
Construct analyzer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
float | CalculateLoudness
(
TArrayView< const float > InSampleView |
Calculate the loudness for the input samples. |
![]() |
float | CalculatePerceptualEnergy
(
TArrayView< const float > InSampleView |
Calculate the perceptual energy for the input samples. |
![]() ![]() |
float | ConvertPerceptualEnergyToLoudness
(
float InPerceptualEnergy |
Convert from perceptual energy to loudness [Loudness = 10 * log_10(Energy)] |
![]() ![]() |
const FLoudnessAnalyzerSettings & | GetSettings () |
Return const reference to settings used inside this analyzer. |