13#ifndef __AUDACITY_EQUALIZATION_BAND_SLIDERS__
14#define __AUDACITY_EQUALIZATION_BAND_SLIDERS__
16#define NUMBER_OF_BANDS 31
50 static void spline(
double x[],
double y[],
size_t n,
double y2[]);
52 double splint(
double x[],
double y[],
size_t n,
double y2[],
double xr);
55 template<
typename EventTag,
typename Class,
typename Event>
57 wxEvtHandler &src,
const EventTag& eventType,
void (Class::*pmf)(Event &))
59 src.Bind(eventType, pmf,
static_cast<Class *
>(
this));
63 void OnSlider( wxCommandEvent & event );
Piecewise linear or piecewise exponential function from double to double.
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
static void spline(double x[], double y[], size_t n, double y2[])
void BindTo(wxEvtHandler &src, const EventTag &eventType, void(Class::*pmf)(Event &))
static double splint(double x[], double y[], size_t n, double y2[], double xr)
void OnErase(wxEvent &event)
double mWhenSliders[NUMBER_OF_BANDS+1]
int mSlidersOld[NUMBER_OF_BANDS]
EqualizationCurvesList & mCurvesList
void AddBandSliders(ShuttleGui &S)
void GraphicEQ(Envelope &env)
EqualizationBandSliders(EqualizationCurvesList &curvesList)
double mEQVals[NUMBER_OF_BANDS+1]
wxSlider * mSliders[NUMBER_OF_BANDS]
void OnSlider(wxCommandEvent &event)
Maintains a list of preset curves for Equalization effects.