25 : mParameter { parameter }
29 double Min()
const override
31 return mParameter.min / mParameter.scale;
34 double Max()
const override
36 return mParameter.max / mParameter.scale;
41 return mParameter.min;
46 return mParameter.max;
51 return mParameter.scale;
82 std::make_shared<ParameterWrapper>(
attackMs),
85 std::make_shared<ParameterWrapper>(
releaseMs),
static const DynamicRangeProcessorParameterAttributes compressorMakupGainDbAttributes
static const DynamicRangeProcessorParameterAttributes compressionRatioAttributes
static const DynamicRangeProcessorParameterAttributes lookaheadMsAttributes
static const DynamicRangeProcessorParameterAttributes kneeWidthDbAttributes
static const DynamicRangeProcessorParameterAttributes attackMsAttributes
static const DynamicRangeProcessorParameterAttributes compressorThresholdDbAttributes
static const DynamicRangeProcessorParameterAttributes releaseMsAttributes
static Settings & settings()
static constexpr CompressorParameter releaseMs
static constexpr CompressorParameter compressionRatio
static constexpr CompressorParameter thresholdDb
CompressorSettings mSettings
static constexpr CompressorParameter lookaheadMs
CompressorEditor(wxWindow *parent, CompressorInstance &instance, bool isRealtime, const EffectUIServices &services, EffectSettingsAccess &access, CompressorSettings settings)
static constexpr CompressorParameter makeupGainDb
static constexpr CompressorParameter attackMs
static constexpr CompressorParameter kneeWidthDb
void Initialize(std::vector< ExtendedCompressorParameter > parameters)
double SliderMax() const override
double Max() const override
const CompressorParameter & mParameter
ParameterWrapper(const CompressorParameter ¶meter)
double TextToSlider() const override
double SliderMin() const override
double Min() const override
static constexpr auto lookaheadMaxMs
static constexpr auto lookaheadMinMs
static constexpr auto compressionRatioMax