Audacity 3.2.0
EqualizationCurvesList.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 EqualizationCurvesList.h
6
7 Mitch Golden
8 Vaughan Johnson (Preview)
9
10 Paul Licameli split from Equalization.h
11
12***********************************************************************/
13#ifndef __AUDACITY_EQUALIZATION_CURVES_LIST__
14#define __AUDACITY_EQUALIZATION_CURVES_LIST__
15
16#include "EqualizationCurves.h"
17
18class Envelope;
20
22struct BUILTIN_EFFECTS_API EqualizationCurvesList {
24 : mParameters{ params }
25 {}
26
27 void EnvelopeUpdated();
28 void EnvelopeUpdated(const Envelope &env, bool lin);
29 void Select(int sel);
30
31 void ForceRecalc() { mRecalcRequired = true; }
32
33 void setCurve(int currentCurve);
34 void setCurve(const wxString& curveName);
35
38 bool mRecalcRequired{ false };
39
40private:
41 void setCurve();
42};
43#endif
EffectDistortionSettings params
std::vector< EQCurve > EQCurveArray
Piecewise linear or piecewise exponential function from double to double.
Definition: Envelope.h:72
Maintains a list of preset curves for Equalization effects.
EqualizationFilter & mParameters
EqualizationCurvesList(EqualizationFilter &params)