Navigation
API > API/Plugins > API/Plugins/AudioWidgets
An oscilloscope UMG widget.
Supports displaying waveforms from incoming audio samples.
| Name | UAudioOscilloscope |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioOscilloscopeUMG.h |
| Include Path | #include "AudioOscilloscopeUMG.h" |
Syntax
UCLASS (MinimalAPI)
class UAudioOscilloscope : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UAudioOscilloscope
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioOscilloscope
(
const FObjectInitializer& ObjectInitializer |
AudioOscilloscopeUMG.h |
Classes
| Name | Remarks |
|---|---|
| FGetOscilloscopeAudioSamples |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DummyMaxNumSamples | int32 | AudioOscilloscopeUMG.h | |
| DummyNumChannels | int32 | AudioOscilloscopeUMG.h | |
| DummySampleRate | uint32 | Dummy waveform data to display if audio bus is not set. | AudioOscilloscopeUMG.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AmplitudeGridLabelsUnit | EYAxisLabelsUnit | Define the amplitude grid labels unit. | AudioOscilloscopeUMG.h |
|
| AnalysisPeriodMs | float | The analysis period in milliseconds. | AudioOscilloscopeUMG.h |
|
| AudioBus | TObjectPtr< UAudioBus > | The audio bus used to obtain audio samples for the oscilloscope | AudioOscilloscopeUMG.h |
|
| bShowAmplitudeGrid | bool | Show/Hide the amplitude grid. | AudioOscilloscopeUMG.h |
|
| bShowAmplitudeLabels | bool | Show/Hide the amplitude labels. | AudioOscilloscopeUMG.h |
|
| bShowTimeGrid | bool | Show/Hide the time grid. | AudioOscilloscopeUMG.h |
|
| ChannelToAnalyze | int32 | The channel to analyze with the oscilloscope (only available if PanelLayoutType is set to "Advanced"). | AudioOscilloscopeUMG.h |
|
| MaxTimeWindowMs | float | The max time window in milliseconds. | AudioOscilloscopeUMG.h |
|
| OscilloscopeStyle | FAudioOscilloscopePanelStyle | The oscilloscope panel style | AudioOscilloscopeUMG.h |
|
| PanelLayoutType | EAudioPanelLayoutType | Show/Hide advanced panel layout. | AudioOscilloscopeUMG.h |
|
| TimeGridLabelsUnit | EXAxisLabelsUnit | Define the time grid labels unit. | AudioOscilloscopeUMG.h |
|
| TimeWindowMs | float | The time window in milliseconds. | AudioOscilloscopeUMG.h |
|
| TriggerMode | EAudioOscilloscopeTriggerMode | The trigger detection behavior. | AudioOscilloscopeUMG.h |
|
| TriggerThreshold | float | The trigger threshold position in the Y axis. | AudioOscilloscopeUMG.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AudioSamplesDataProvider | TSharedPtr< AudioWidgets::FWaveformAudioSamplesDataProvider > | The underlying audio samples data provider. | AudioOscilloscopeUMG.h | |
| DummyAudioSamples | TArray< float > | AudioOscilloscopeUMG.h | ||
| DummyDataView | FFixedSampledSequenceView | AudioOscilloscopeUMG.h | ||
| NumChannels | int32 | AudioOscilloscopeUMG.h | ||
| OscilloscopePanelWidget | TSharedPtr< SAudioOscilloscopePanelWidget > | Native Slate Widget. | AudioOscilloscopeUMG.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void StartProcessing() |
Starts the oscilloscope processing. | AudioOscilloscopeUMG.h |
|
void StopProcessing() |
Stops the oscilloscope processing. | AudioOscilloscopeUMG.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
AudioOscilloscopeUMG.h | ||
virtual void SynchronizeProperties() |
AudioOscilloscopeUMG.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
AudioOscilloscopeUMG.h |