VJ Master 1.0
Real-time audio analysis and visualisation.
Loading...
Searching...
No Matches
AST_N_VisPitch Class Reference

AST_N_VisPitch is a derived class from AST_VisNiagaraBase. It is responsible for handling pitch data in the context of audio visualization. This class processes pitch data and manages audio I/O status changes. More...

#include <ST_N_VisPitch.h>

Protected Member Functions

virtual bool SetConstantParameters () override
virtual void OnPitchesReady_Implementation (const TArray< float > &Pitches, FIntPoint IOId) override
virtual void OnAudioIOStatusChanged_Implementation (bool bIsActive, FIntPoint IOId) override
Protected Member Functions inherited from AST_VisBase
virtual void PostInitializeComponents () override

Additional Inherited Members

Public Member Functions inherited from AST_VisNiagaraBase
 AST_VisNiagaraBase ()
virtual void HandleBeginPlay () override
void SetNiagaraSystem (class UNiagaraSystem *System)
Public Member Functions inherited from AST_VisBase
 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 ()
Public Member Functions inherited from IST_AudioProcessingInterface
void OnAudioIOStatusChanged (bool bIsActive, FIntPoint IOId)
 Event triggered when the status of an audio I/O device changes.
void OnRawMagnitudesReady (const TArray< float > &RawMagnitudes, FIntPoint IOId)
 Event triggered when raw magnitude data is ready for an audio I/O device.
void OnFrequencyBandsReady (const TArray< float > &FrequencyBands, int32 NumFrequencyBands, FIntPoint IOId)
 Event triggered when frequency band data is ready for an audio I/O device.
void OnAmplitudesReady (const TArray< float > &Amplitudes, FIntPoint IOId)
 Event triggered when amplitude data is ready for an audio I/O device.
void OnPitchesReady (const TArray< float > &Pitches, FIntPoint IOId)
 Event triggered when pitch data is ready for an audio I/O device.
void OnBeatDetected (const TArray< float > &Beats, const TArray< bool > &BeatDetectedForChannel, FIntPoint IOId)
 Event triggered when a beat is detected in the audio data for an I/O device.
Protected Attributes inherited from AST_VisNiagaraBase
class UNiagaraComponent * Niagara = nullptr
Protected Attributes inherited from AST_VisBase
USceneComponent * Root = nullptr
bool bCustomBeginPlay = false
bool bSamplerActivates = false
bool bZeroSamplersDeactivates = false
int32 Default_AudioIOs = 0
int32 Registered_AudioIOs = 0

Detailed Description

AST_N_VisPitch is a derived class from AST_VisNiagaraBase. It is responsible for handling pitch data in the context of audio visualization. This class processes pitch data and manages audio I/O status changes.

Member Function Documentation

◆ OnAudioIOStatusChanged_Implementation()

void AST_N_VisPitch::OnAudioIOStatusChanged_Implementation ( bool bIsActive,
FIntPoint IOId )
overrideprotectedvirtual

Called when the audio I/O status changes.

Parameters
bIsActiveIndicates if the audio I/O is active.
IOIdThe identifier of the I/O operation whose status has changed.

◆ OnPitchesReady_Implementation()

void AST_N_VisPitch::OnPitchesReady_Implementation ( const TArray< float > & Pitches,
FIntPoint IOId )
overrideprotectedvirtual

Called when the pitch data is ready to be processed.

Parameters
PitchesThe array of pitch data.
IOIdThe identifier of the I/O operation associated with the pitch data.

◆ SetConstantParameters()

bool AST_N_VisPitch::SetConstantParameters ( )
overrideprotectedvirtual

Sets the constant parameters for the pitch visualization.

Returns
Returns true if the parameters were successfully set, false otherwise.

Reimplemented from AST_VisBase.


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_VisPitch.h
  • H:/Games/Unreal/Aaron/FunWithShaders/Plugins/ST_VJMaster/Source/ST_AudioVisualisation/Private/Niagara/Vis/ST_N_VisPitch.cpp