AST_N_VisBeatDetection is a derived class from AST_VisNiagaraBase that handles beat detection visualization. It processes the beats detected from audio input and provides methods for setting parameters and handling audio I/O status changes. It also includes functionality for ticking and tracking time between beats.
More...
#include <ST_N_VisBeatDetection.h>
|
| | AST_VisNiagaraBase () |
| virtual void | HandleBeginPlay () override |
| void | SetNiagaraSystem (class UNiagaraSystem *System) |
| | AST_VisBase () |
| virtual void | Tick (float DeltaTime) override |
| virtual void | BeginPlay () override |
| virtual void | EndPlay (const EEndPlayReason::Type EndPlayReason) override |
| virtual bool | RegisterToIO (EAudioIOType NewAudioIOType) |
| bool | RegisterToIO (int32 NewAudioIOType) |
| virtual void | DeregisterFromIO (EAudioIOType CurrAudioIOType) |
| void | DeregisterFromIO (int32 CurrAudioIOType) |
| virtual bool | SetDynamicParameters () |
| void | OnAudioIOStatusChanged (const bool bIsActive, const FIntPoint IOId) |
| | Event triggered when the status of an audio I/O device changes.
|
| void | OnRawMagnitudesReady (const TArray< float > &RawMagnitudes, const FIntPoint IOId) |
| | Event triggered when raw magnitude data is ready for an audio I/O device.
|
| void | OnFrequencyBandsReady (const TArray< float > &FrequencyBands, const int32 NumFrequencyBands, const FIntPoint IOId) |
| | Event triggered when frequency band data is ready for an audio I/O device.
|
| void | OnAmplitudesReady (const TArray< float > &Amplitudes, const FIntPoint IOId) |
| | Event triggered when amplitude data is ready for an audio I/O device.
|
| void | OnPitchesReady (const TArray< float > &Pitches, const FIntPoint IOId) |
| | Event triggered when pitch data is ready for an audio I/O device.
|
| void | OnBeatDetected (const TArray< float > &Beats, const TArray< FChannelBeatDetection > &BeatDetectionForChannel, const FIntPoint IOId) |
| | Event triggered when a beat is detected in the audio data for an I/O device.
|
AST_N_VisBeatDetection is a derived class from AST_VisNiagaraBase that handles beat detection visualization. It processes the beats detected from audio input and provides methods for setting parameters and handling audio I/O status changes. It also includes functionality for ticking and tracking time between beats.
◆ OnAudioIOStatusChanged_Implementation()
| void AST_N_VisBeatDetection::OnAudioIOStatusChanged_Implementation |
( |
bool | bIsActive, |
|
|
FIntPoint | IOId ) |
|
overrideprotectedvirtual |
Called when the audio I/O status changes.
- Parameters
-
| bIsActive | Indicates if the audio I/O is active. |
| IOId | The identifier of the I/O operation whose status has changed. |
◆ OnBeatDetected_Implementation()
| void AST_N_VisBeatDetection::OnBeatDetected_Implementation |
( |
const TArray< float > & | Beats, |
|
|
const TArray< FChannelBeatDetection > & | BeatDetectionForChannel, |
|
|
FIntPoint | IOId ) |
|
overrideprotectedvirtual |
Called when beats are detected.
- Parameters
-
| Beats | An array of detected beat values. |
| BeatDetectionForChannel | An array of channels and if a beat was detected and the current BPM. |
| IOId | The identifier of the I/O operation associated with the beats. |
◆ SetConstantParameters()
| bool AST_N_VisBeatDetection::SetConstantParameters |
( |
| ) |
|
|
overrideprotectedvirtual |
Sets the constant parameters for the beat detection visualization.
- Returns
- Returns true if the parameters were successfully set, false otherwise.
Reimplemented from AST_VisBase.
◆ CurrBeatDetectionForChannel
See if a beat was a detected and the current BPM.
The documentation for this class was generated from the following files:
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Public/Niagara/Vis/ST_N_VisBeatDetection.h
- H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Private/Niagara/Vis/ST_N_VisBeatDetection.cpp