Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/AudioAnalyzer/Classes/AudioAnalyzer.h |
Include |
#include "AudioAnalyzer.h" |
class UAudioAnalyzer : public UObject
UAudioAnalyzer performs analysis on an audio bus using specific settings and exposes the results via blueprints.
Subclasses of UAudioAnalyzer must implement GetAnalyzerFactoryName() to associate the UAudioAnalyzer asset with an IAudioAnalyzerFactory implementation.
To support blueprint access, subclasses can implement UFUNCTIONs to expose the data returned by GetResult().
Name | Description | ||
---|---|---|---|
|
TObjectPtr< UAu... |
AudioBus |
The UAudioBus which is analyzed in real-time. |
|
NumFramesPerBufferToAnalyze |
How many frames of audio to wait before analyzing the audio. |
Name | Description | ||
---|---|---|---|
|
BroadcastResults() |
Function to broadcast results. |
|
|
GetAnalyzerFactoryName() |
Subclasses must override this method in order to inform this object which AnalyzerFactory to use for analysis |
|
|
TUniquePtr< ... |
GetResults() |
|
|
TUniquePtr< ... |
GetSettings |
Implementations can override this method to create settings objects specific for their analyzer. |
|
StartAnalyzing |
Starts analyzing audio from the given audio bus. |
|
|
StartAnalyzing |
Starts analyzing using the given world. |
|
|
StopAnalyzing ( |
Stops analyzing audio. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
Name |
Description |
---|---|
FResultId |
ID to keep track of results. |
FResultSharedPtr |
Thread safe shared point to result object. |