Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
DynamicRangeProcessorSettings Struct Reference

#include <DynamicRangeProcessorTypes.h>

Public Member Functions

 DynamicRangeProcessorSettings (const CompressorSettings &compressorSettings)
 
 DynamicRangeProcessorSettings (const LimiterSettings &limiterSettings)
 

Public Attributes

double inCompressionThreshDb
 
double outCompressionThreshDb
 
double kneeWidthDb
 
double compressionRatio
 
double lookaheadMs
 
double attackMs
 
double releaseMs
 
double showInput
 
double showOutput
 
double showActual
 
double showTarget
 

Detailed Description

Definition at line 104 of file DynamicRangeProcessorTypes.h.

Constructor & Destructor Documentation

◆ DynamicRangeProcessorSettings() [1/2]

DynamicRangeProcessorSettings::DynamicRangeProcessorSettings ( const CompressorSettings compressorSettings)
inline

Definition at line 106 of file DynamicRangeProcessorTypes.h.

107 : inCompressionThreshDb { compressorSettings.thresholdDb }
108 , outCompressionThreshDb { compressorSettings.thresholdDb +
109 compressorSettings.makeupGainDb }
110 , kneeWidthDb { compressorSettings.kneeWidthDb }
111 , compressionRatio { compressorSettings.compressionRatio }
112 , lookaheadMs { compressorSettings.lookaheadMs }
113 , attackMs { compressorSettings.attackMs }
114 , releaseMs { compressorSettings.releaseMs }
115 , showInput { compressorSettings.showInput }
116 , showOutput { compressorSettings.showOutput }
117 , showActual { compressorSettings.showActual }
118 , showTarget { compressorSettings.showTarget }
119 {
120 }

◆ DynamicRangeProcessorSettings() [2/2]

DynamicRangeProcessorSettings::DynamicRangeProcessorSettings ( const LimiterSettings limiterSettings)
inline

Definition at line 122 of file DynamicRangeProcessorTypes.h.

123 : inCompressionThreshDb { limiterSettings.thresholdDb }
124 , outCompressionThreshDb { limiterSettings.makeupTargetDb }
125 , kneeWidthDb { limiterSettings.kneeWidthDb }
126 , compressionRatio { std::numeric_limits<double>::infinity() }
127 , lookaheadMs { limiterSettings.lookaheadMs }
128 , attackMs { 0. }
129 , releaseMs { limiterSettings.releaseMs }
130 , showInput { limiterSettings.showInput }
131 , showOutput { limiterSettings.showOutput }
132 , showActual { limiterSettings.showActual }
133 , showTarget { limiterSettings.showTarget }
134 {
135 }

Member Data Documentation

◆ attackMs

double DynamicRangeProcessorSettings::attackMs

Definition at line 142 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ compressionRatio

double DynamicRangeProcessorSettings::compressionRatio

Definition at line 140 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ inCompressionThreshDb

double DynamicRangeProcessorSettings::inCompressionThreshDb

Definition at line 137 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ kneeWidthDb

double DynamicRangeProcessorSettings::kneeWidthDb

Definition at line 139 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ lookaheadMs

double DynamicRangeProcessorSettings::lookaheadMs

◆ outCompressionThreshDb

double DynamicRangeProcessorSettings::outCompressionThreshDb

Definition at line 138 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ releaseMs

double DynamicRangeProcessorSettings::releaseMs

Definition at line 143 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ showActual

double DynamicRangeProcessorSettings::showActual

Definition at line 146 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ showInput

double DynamicRangeProcessorSettings::showInput

Definition at line 144 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ showOutput

double DynamicRangeProcessorSettings::showOutput

Definition at line 145 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().

◆ showTarget

double DynamicRangeProcessorSettings::showTarget

Definition at line 147 of file DynamicRangeProcessorTypes.h.

Referenced by operator==().


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