MCPcopy Create free account
hub / github.com/audacity/audacity / LimiterEditor

Method LimiterEditor

src/effects/LimiterEditor.cpp:52–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50} // namespace
51
52LimiterEditor::LimiterEditor(
53 wxWindow* parent, CompressorInstance& instance, bool isRealtime,
54 const EffectUIServices& services, EffectSettingsAccess& access,
55 LimiterSettings settings)
56 : DynamicRangeProcessorEditor { parent, instance, isRealtime, services,
57 access }
58 , mSettings { std::move(settings) }
59{
60 Initialize({ { mSettings.thresholdDb, limiterThresholdDbAttributes,
61 std::make_shared<ParameterWrapper>(thresholdDb),
62 ControllerCategory::CompressionCurve },
63 { mSettings.makeupTargetDb, limiterMakeupTargetDbAttributes,
64 std::make_shared<ParameterWrapper>(makeupTargetDb),
65 ControllerCategory::CompressionCurve },
66 { mSettings.kneeWidthDb, kneeWidthDbAttributes,
67 std::make_shared<ParameterWrapper>(kneeWidthDb),
68 ControllerCategory::CompressionCurve },
69 { mSettings.lookaheadMs, lookaheadMsAttributes,
70 std::make_shared<ParameterWrapper>(lookaheadMs),
71 ControllerCategory::TimeSmoothing },
72 { mSettings.releaseMs, releaseMsAttributes,
73 std::make_shared<ParameterWrapper>(releaseMs),
74 ControllerCategory::TimeSmoothing } });
75}

Callers

nothing calls this directly

Calls 2

moveFunction · 0.85
InitializeFunction · 0.50

Tested by

no test coverage detected