Configuration structure for FFT spectrum settings. Defines parameters for frequency band computation, normalization, and frequency limits. More...
#include <ST_AudioProcessingSettings.h>
Public Member Functions | |
UPROPERTY (EditAnywhere, BlueprintReadWrite, Category="Audio", meta=(SessionRestartRequired, EditCondition="bOverrideNyquistLimit && SpectrumSpacing == EST_SpectrumSpacing::Log", Tooltip="Uses CustomMaxFreq instead of NyquistLimit (half the sampling rate)")) float MaxFreq | |
Maximum frequency for spectrum analysis (in Hz). Used only if Nyquist limit is overridden. |
Public Attributes | |
bool | bComputeFrequencyBands = true |
Whether to compute frequency bands. Enables or disables the frequency band computation in the spectrum analysis. | |
bool | bSpectrumNormalisation = true |
Whether to normalize the spectrum. Scales the spectrum to a specified range. | |
int32 | SpectrumBands = 32 |
Number of frequency bands to use in the spectrum analysis. A higher value provides finer resolution but increases computational cost. Minimum value is 1. | |
EST_SpectrumSpacing | SpectrumSpacing = EST_SpectrumSpacing::Log |
The type of spectrum spacing to use. Options include logarithmic, linear, octave subdivision, etc. | |
EST_SpectrumValues | SpectrumValues = EST_SpectrumValues::Averages |
The type of values to display in the spectrum. Options include averages and peaks. | |
float | MinFreq = 20.0f |
Minimum frequency for spectrum analysis (in Hz). Used only if SpectrumSpacing is Logarithmic. | |
bool | bOverrideNyquistLimit = false |
Whether to override the Nyquist limit (half the sampling rate). Used only if SpectrumSpacing is Logarithmic. | |
FFFTSmoothingConfig | SmoothingConfig |
The smoothing configuration for the spectrum. Controls the smoothing behavior for spectrum values over time. |
Configuration structure for FFT spectrum settings. Defines parameters for frequency band computation, normalization, and frequency limits.