UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Audio::FPhaser Class Reference

#include <Phaser.h>

Public Member Functions

SIGNALPROCESSING_API FPhaser ()
 
SIGNALPROCESSING_API ~FPhaser ()
 
SIGNALPROCESSING_API void Init (const float SampleRate, const int32 InNumChannels)
 
SIGNALPROCESSING_API void SetFrequency (const float InFreqHz)
 
SIGNALPROCESSING_API void SetWetLevel (const float InWetLevel)
 
SIGNALPROCESSING_API void SetFeedback (const float InFeedback)
 
SIGNALPROCESSING_API void SetLFOType (const ELFO::Type LFOType)
 
SIGNALPROCESSING_API void SetQuadPhase (const bool bQuadPhase)
 
SIGNALPROCESSING_API void ProcessAudioFrame (const float *InFrame, float *OutFrame)
 
SIGNALPROCESSING_API void ProcessAudio (const float *InBuffer, const int32 InNumSamples, float *OutBuffer)
 

Protected Member Functions

SIGNALPROCESSING_API void ComputeNewCoefficients (const int32 ChannelIndex, const float LFOValue)
 

Protected Attributes

int32 ControlSampleCount
 
int32 ControlRate
 
float Frequency
 
float WetLevel
 
float Feedback
 
ELFO::Type LFOType
 
FBiquadFilter APFs [MaxNumChannels][NumApfs]
 
FVector2D APFFrequencyRanges [NumApfs]
 
float FeedbackFrame [MaxNumChannels]
 
FLFO LFO
 
int32 NumChannels
 
bool bIsBiquadPhase
 

Static Protected Attributes

static const int32 NumApfs = 6
 
static const int32 MaxNumChannels = 2
 

Constructor & Destructor Documentation

◆ FPhaser()

Audio::FPhaser::FPhaser ( )

◆ ~FPhaser()

Audio::FPhaser::~FPhaser ( )

Member Function Documentation

◆ ComputeNewCoefficients()

void Audio::FPhaser::ComputeNewCoefficients ( const int32  ChannelIndex,
const float  LFOValue 
)
protected

◆ Init()

void Audio::FPhaser::Init ( const float  SampleRate,
const int32  InNumChannels 
)

◆ ProcessAudio()

void Audio::FPhaser::ProcessAudio ( const float InBuffer,
const int32  InNumSamples,
float OutBuffer 
)

◆ ProcessAudioFrame()

void Audio::FPhaser::ProcessAudioFrame ( const float InFrame,
float OutFrame 
)

◆ SetFeedback()

void Audio::FPhaser::SetFeedback ( const float  InFeedback)

◆ SetFrequency()

void Audio::FPhaser::SetFrequency ( const float  InFreqHz)

◆ SetLFOType()

void Audio::FPhaser::SetLFOType ( const ELFO::Type  LFOType)

◆ SetQuadPhase()

void Audio::FPhaser::SetQuadPhase ( const bool  bQuadPhase)

◆ SetWetLevel()

void Audio::FPhaser::SetWetLevel ( const float  InWetLevel)

Member Data Documentation

◆ APFFrequencyRanges

FVector2D Audio::FPhaser::APFFrequencyRanges[NumApfs]
protected

◆ APFs

FBiquadFilter Audio::FPhaser::APFs[MaxNumChannels][NumApfs]
protected

◆ bIsBiquadPhase

bool Audio::FPhaser::bIsBiquadPhase
protected

◆ ControlRate

int32 Audio::FPhaser::ControlRate
protected

◆ ControlSampleCount

int32 Audio::FPhaser::ControlSampleCount
protected

◆ Feedback

float Audio::FPhaser::Feedback
protected

◆ FeedbackFrame

float Audio::FPhaser::FeedbackFrame[MaxNumChannels]
protected

◆ Frequency

float Audio::FPhaser::Frequency
protected

◆ LFO

FLFO Audio::FPhaser::LFO
protected

◆ LFOType

ELFO::Type Audio::FPhaser::LFOType
protected

◆ MaxNumChannels

const int32 Audio::FPhaser::MaxNumChannels = 2
staticprotected

◆ NumApfs

const int32 Audio::FPhaser::NumApfs = 6
staticprotected

◆ NumChannels

int32 Audio::FPhaser::NumChannels
protected

◆ WetLevel

float Audio::FPhaser::WetLevel
protected

The documentation for this class was generated from the following files: