Audacity 3.2.0
|
Maintains a list of preset curves for Equalization effects. More...
#include <EqualizationCurvesList.h>
Public Member Functions | |
EqualizationCurvesList (EqualizationFilter ¶ms) | |
void | EnvelopeUpdated () |
void | EnvelopeUpdated (const Envelope &env, bool lin) |
void | Select (int sel) |
void | ForceRecalc () |
void | setCurve (int currentCurve) |
void | setCurve (const wxString &curveName) |
Public Attributes | |
EQCurveArray | mCurves |
EqualizationFilter & | mParameters |
bool | mRecalcRequired { false } |
Private Member Functions | |
void | setCurve () |
Maintains a list of preset curves for Equalization effects.
Definition at line 22 of file EqualizationCurvesList.h.
|
inlineexplicit |
Definition at line 23 of file EqualizationCurvesList.h.
void EqualizationCurvesList::EnvelopeUpdated | ( | ) |
Definition at line 31 of file EqualizationCurvesList.cpp.
References EnvelopeUpdated(), EqualizationParameters::IsLinear(), EqualizationFilter::mLinEnvelope, EqualizationFilter::mLogEnvelope, and mParameters.
Referenced by EnvelopeUpdated(), EqualizationBandSliders::EnvLinToLog(), EqualizationBandSliders::ErrMin(), EqualizationBandSliders::Flatten(), EqualizationBandSliders::Invert(), EqualizationUI::OnInterp(), EqualizationPanel::OnMouseEvent(), EqualizationBandSliders::OnSlider(), and EqualizationUI::UpdateDraw().
void EqualizationCurvesList::EnvelopeUpdated | ( | const Envelope & | env, |
bool | lin | ||
) |
Definition at line 39 of file EqualizationCurvesList.cpp.
References Envelope::GetNumberOfPoints(), Envelope::GetPoints(), mCurves, EqualizationParameters::mDrawMode, EqualizationFilter::mHiFreq, EqualizationFilter::mLogEnvelope, mParameters, and Select().
|
inline |
Definition at line 31 of file EqualizationCurvesList.h.
Referenced by EqualizationBandSliders::Flatten(), EqualizationBandSliders::GraphicEQ(), EqualizationBandSliders::Invert(), EqualizationUI::OnLinFreq(), EqualizationPanel::OnMouseEvent(), EqualizationUI::OnSliderM(), EqualizationUI::PopulateOrExchange(), setCurve(), and EqualizationUI::UpdateDraw().
void EqualizationCurvesList::Select | ( | int | sel | ) |
Definition at line 23 of file EqualizationCurvesList.cpp.
References EqualizationParameters::mCurveName, mCurves, and mParameters.
Referenced by EnvelopeUpdated(), EqualizationBandSliders::ErrMin(), and setCurve().
|
private |
Definition at line 274 of file EqualizationCurvesList.cpp.
References mCurves, and setCurve().
Referenced by setCurve().
void EqualizationCurvesList::setCurve | ( | const wxString & | curveName | ) |
Definition at line 279 of file EqualizationCurvesList.cpp.
References BasicUI::MessageBoxOptions::IconStyle(), mCurves, setCurve(), BasicUI::ShowMessageBox(), and XO().
void EqualizationCurvesList::setCurve | ( | int | currentCurve | ) |
Definition at line 112 of file EqualizationCurvesList.cpp.
References EqualizationFilter::ChooseEnvelope(), Envelope::Flatten(), ForceRecalc(), EqualizationFilter::loFreqI, mCurves, EqualizationFilter::mHiFreq, min(), EqualizationParameters::mLin, mParameters, and Select().
Referenced by EqualizationBase::Init(), EqualizationUI::OnCurve(), EqualizationUI::OnManage(), EqualizationUI::UpdateCurves(), and EqualizationBase::VisitSettings().
EQCurveArray EqualizationCurvesList::mCurves |
Definition at line 36 of file EqualizationCurvesList.h.
Referenced by EnvelopeUpdated(), EqualizationBase::EqualizationBase(), EqualizationBandSliders::ErrMin(), EqualizationUI::OnManage(), EqualizationUI::PopulateOrExchange(), Select(), setCurve(), EqualizationUI::UpdateCurves(), EqualizationUI::ValidateUI(), and EqualizationBase::VisitSettings().
EqualizationFilter& EqualizationCurvesList::mParameters |
Definition at line 37 of file EqualizationCurvesList.h.
Referenced by EnvelopeUpdated(), EqualizationBandSliders::EnvLinToLog(), EqualizationBandSliders::EnvLogToLin(), EqualizationBandSliders::ErrMin(), EqualizationBandSliders::Flatten(), EqualizationBandSliders::GraphicEQ(), EqualizationBandSliders::Init(), EqualizationBandSliders::Invert(), EqualizationUI::OnCurve(), EqualizationUI::OnDrawMode(), EqualizationUI::OnGraphicMode(), EqualizationUI::OnGridOnOff(), EqualizationUI::OnIdle(), EqualizationUI::OnInterp(), EqualizationUI::OnLinFreq(), EqualizationPanel::OnMouseEvent(), EqualizationPanel::OnPaint(), EqualizationBandSliders::OnSlider(), EqualizationUI::OnSliderDBMAX(), EqualizationUI::OnSliderDBMIN(), EqualizationUI::OnSliderM(), EqualizationUI::PopulateOrExchange(), EqualizationPanel::Recalc(), Select(), setCurve(), EqualizationUI::TransferDataToWindow(), EqualizationUI::UpdateCurves(), EqualizationUI::UpdateDraw(), EqualizationUI::UpdateGraphic(), EqualizationUI::UpdateRuler(), and EqualizationUI::ValidateUI().
bool EqualizationCurvesList::mRecalcRequired { false } |
Definition at line 38 of file EqualizationCurvesList.h.
Referenced by EqualizationPanel::OnIdle().