Navigation
API > API/Plugins > API/Plugins/AudioSynesthesia
ULoudnessAnalyzer calculates the temporal evolution of perceptual loudness for a given audio bus in real-time. Loudness is available for individual channels or the overall audio bus. Normalized loudness values convert the range to 0.0 to 1.0 where 0.0 is the noise floor and 1.0 is the maximum loudness of the particular sound.
| Name | ULoudnessAnalyzer |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioSynesthesia/Source/AudioSynesthesia/Classes/Loudness.h |
| Include Path | #include "Loudness.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable)
class ULoudnessAnalyzer : public UAudioAnalyzer
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAudioAnalyzer → ULoudnessAnalyzer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULoudnessAnalyzer() |
Loudness.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnLatestOverallLoudnessResults | FOnLatestOverallLoudnessResults | Delegate to receive the latest overall loudness results. | Loudness.h |
|
| OnLatestPerChannelLoudnessResults | FOnLatestPerChannelLoudnessResults | Delegate to receive the latest per-channel loudness results. | Loudness.h |
|
| OnOverallLoudnessResults | FOnOverallLoudnessResults | Delegate to receive all overall loudness results since last delegate call. | Loudness.h |
|
| OnPerChannelLoudnessResults | FOnPerChannelLoudnessResults | Delegate to receive all loudness results, per-channel, since last delegate call. | Loudness.h |
|
| Settings | TObjectPtr< ULoudnessSettings > | The settings for the audio analyzer. | Loudness.h |
|
Functions
Public
Overridden from UAudioAnalyzer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BroadcastResults() |
Broadcasts results to any delegates if hooked up. | Loudness.h | |
virtual TUniquePtr< Audio::IAnalyzerSettings > GetSettings
(
const int32 InSampleRate, |
Convert ULoudnessSettings to FLoudnessSettings | Loudness.h |
Protected
Overridden from UAudioAnalyzer
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetAnalyzerFactoryName() |
Return the name of the IAudioAnalyzerFactory associated with this UAudioAnalyzer | Loudness.h |