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

Structure that holds the miniaudio playback and capture settings. More...

#include <ST_AudioProcessingSettings.h>

Public Member Functions

 FFFTIOData ()=default
 FFFTIOData (int32 InPeriodSizeInFrames, int32 InBytesPerFrame, int32 InSampleRate, int32 InChannels, FFFTConfig InFFTConfig)
int32 GetChannelMultiplier () const

Public Attributes

int32 PeriodSizeInFrames = 0
int32 BytesPerFrame = 0
int32 SampleRate = 0
int32 Channels = 0
bool bSplitChannels = false
int32 SampleCount = 0
int32 TotalBytesPerPeriod = 0
int32 PaddedPeriodSizeInFramesPerChannel = 0
int32 PaddedMagnitudeCount = 0
int32 PaddedMagnitudeCountWithNyquist = 0
float SecondsPerPeriod = 0.0f
float TimePerFrame = 0.0f
int32 MagnitudesHistorySize = 1
int32 FrequencyBandsHistorySize = 1
int32 AmplitudeHistorySize = 1
int32 PitchHistorySize = 1
int32 BeatHistorySize = 1
int32 TotalBins = 0
float FreqPerBin = 0.0f

Detailed Description

Structure that holds the miniaudio playback and capture settings.

Structure that holds the miniaudio playback and capture settings for FFT processing, including period size, sample rate, and configuration.

Constructor & Destructor Documentation

◆ FFFTIOData() [1/2]

FFFTIOData::FFFTIOData ( )
default

Default constructor for FFFTIOData. Initializes the data structure to default values.

◆ FFFTIOData() [2/2]

FFFTIOData::FFFTIOData ( int32 InPeriodSizeInFrames,
int32 InBytesPerFrame,
int32 InSampleRate,
int32 InChannels,
FFFTConfig InFFTConfig )
inline

Constructor for FFFTIOData with parameters.

Parameters
InPeriodSizeInFramesThe period size in frames for FFT processing.
InBytesPerFrameThe number of bytes per frame in the audio data.
InSampleRateThe sample rate of the audio data.
InChannelsThe number of audio channels.
InFFTConfigThe configuration used for FFT processing.

Member Function Documentation

◆ GetChannelMultiplier()

int32 FFFTIOData::GetChannelMultiplier ( ) const
inline

When splitting channels, return the number of channels to multiply the audio buffers

Member Data Documentation

◆ AmplitudeHistorySize

int32 FFFTIOData::AmplitudeHistorySize = 1

The history size for amplitude data used in FFT smoothing.

See also
FFFTIOData

◆ BeatHistorySize

int32 FFFTIOData::BeatHistorySize = 1

The history size for beat data used in FFT smoothing.

See also
FFFTIOData

◆ bSplitChannels

bool FFFTIOData::bSplitChannels = false

When true each Channel is analyzed separately. When false, an average is taken.

See also
FFFTIOData

◆ BytesPerFrame

int32 FFFTIOData::BytesPerFrame = 0

The number of bytes per frame in the audio data.

See also
FFFTIOData

◆ Channels

int32 FFFTIOData::Channels = 0

The number of audio channels.

See also
FFFTIOData

◆ FreqPerBin

float FFFTIOData::FreqPerBin = 0.0f

The frequency resolution per FFT bin.

See also
FFFTIOData

◆ FrequencyBandsHistorySize

int32 FFFTIOData::FrequencyBandsHistorySize = 1

The history size for frequency bands used in FFT smoothing.

See also
FFFTIOData

◆ MagnitudesHistorySize

int32 FFFTIOData::MagnitudesHistorySize = 1

The history size for magnitudes used in FFT smoothing.

See also
FFFTIOData

◆ PaddedMagnitudeCount

int32 FFFTIOData::PaddedMagnitudeCount = 0

The padded magnitude count for FFT processing.

See also
FFFTIOData

◆ PaddedMagnitudeCountWithNyquist

int32 FFFTIOData::PaddedMagnitudeCountWithNyquist = 0

The padded magnitude count including the Nyquist frequency.

See also
FFFTIOData

◆ PaddedPeriodSizeInFramesPerChannel

int32 FFFTIOData::PaddedPeriodSizeInFramesPerChannel = 0

The padded period size in frames per channel.

See also
FFFTIOData

◆ PeriodSizeInFrames

int32 FFFTIOData::PeriodSizeInFrames = 0

The period size in frames for FFT processing.

See also
FFFTIOData

◆ PitchHistorySize

int32 FFFTIOData::PitchHistorySize = 1

The history size for pitch data used in FFT smoothing.

See also
FFFTIOData

◆ SampleCount

int32 FFFTIOData::SampleCount = 0

The total number of samples in the audio data.

See also
FFFTIOData

◆ SampleRate

int32 FFFTIOData::SampleRate = 0

The sample rate of the audio data.

See also
FFFTIOData

◆ SecondsPerPeriod

float FFFTIOData::SecondsPerPeriod = 0.0f

The number of seconds required to process one period of audio data.

See also
FFFTIOData

◆ TimePerFrame

float FFFTIOData::TimePerFrame = 0.0f

The time in seconds required to process one frame of audio data.

See also
FFFTIOData

◆ TotalBins

int32 FFFTIOData::TotalBins = 0

The total number of frequency bins used in FFT processing.

See also
FFFTIOData

◆ TotalBytesPerPeriod

int32 FFFTIOData::TotalBytesPerPeriod = 0

The total number of bytes per period.

See also
FFFTIOData

The documentation for this struct was generated from the following file: