![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SpectrumAnalyzer.h>
Public Types | |
| enum class | EMetric : uint8 { Magnitude , Power , Decibel } |
Public Attributes | |
| EMetric | Metric = EMetric::Decibel |
| float | DecibelNoiseFloor = -40.f |
| bool | bDoNormalize = true |
| bool | bDoAutoRange = true |
| float | AutoRangeReleaseTimeInSeconds = 30.f |
| float | AutoRangeAttackTimeInSeconds = 1.f |
Settings for band extractor.
|
strong |
| float Audio::FSpectrumBandExtractorSettings::AutoRangeAttackTimeInSeconds = 1.f |
Time in seconds for autorange to reach 99% of a larger range.
| float Audio::FSpectrumBandExtractorSettings::AutoRangeReleaseTimeInSeconds = 30.f |
Time in seconds for autorange to reach 99% of a smaller range.
If true and bDoNormalize is true, then values will be scaled between 0 and 1 based upon relatively recent minimum and maximum values.
If true, all values are scaled and clamped between 0.0 and 1.f. In the case of Decibels, 0.0 corresponds to the decibel noise floor and 1.f to 0dB. If bDoAutoRange is true, then values are relatively to recent maximum and minimums regardless of the metric used.
| float Audio::FSpectrumBandExtractorSettings::DecibelNoiseFloor = -40.f |
If the metric is Decibel, this is the minimum decibel value allowed.
| EMetric Audio::FSpectrumBandExtractorSettings::Metric = EMetric::Decibel |
Metric used to calculate return value.