engine
 
载入中...
搜索中...
未找到
Public 类型 | Public 属性 | 所有成员列表
Audio::FSpectrumBandExtractorSettings结构体 参考

Settings for band extractor. 更多...

#include <SpectrumAnalyzer.h>

Public 类型

enum class  EMetric : uint8 { Magnitude , Power , Decibel }
 Metric for output band values. 更多...
 

Public 属性

float AutoRangeAttackTimeInSeconds = 1.f
 Time in seconds for autorange to reach 99% of a larger range.
 
float AutoRangeReleaseTimeInSeconds = 30.f
 Time in seconds for autorange to reach 99% of a smaller range.
 
bool bDoAutoRange = true
 If true and bDoNormalize is true, then values will be scaled between 0 and 1 based upon relatively recent minimum and maximum values.
 
bool bDoNormalize = true
 If true, all values are scaled and clamped between 0.0 and 1.f. 更多...
 
float DecibelNoiseFloor = -40.f
 If the metric is Decibel, this is the minimum decibel value allowed.
 
EMetric Metric = EMetric::Decibel
 Metric used to calculate return value.
 

详细描述

Settings for band extractor.

成员枚举类型说明

◆ EMetric

Metric for output band values.

枚举值
Magnitude 

Return the magnitude spectrum value.

Power 

Return the power spectrum value.

Decibel 

Return the decibel spectrum value.

Decibels are calculated with 0dB equal to 1.f magnitude.

类成员变量说明

◆ bDoNormalize

bool Audio::FSpectrumBandExtractorSettings::bDoNormalize = true

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.


该结构体的文档由以下文件生成: