Audacity 3.2.0
|
Parameters of the Equalization effects that persist in configuration files. More...
#include <EqualizationParameters.h>
Public Types | |
enum | kInterpolations { kBspline , kCosine , kCubic , nInterpolations } |
Public Member Functions | |
EqualizationParameters (const EffectSettingsManager &manager) | |
void | LoadDefaults (int options) |
void | SaveConfig () const |
bool | IsLinear () const |
Public Attributes | |
const EffectSettingsManager & | mSettingsManager |
wxString | mCurveName |
float | mdBMin |
float | mdBMax |
size_t | mM |
int | mInterp |
bool | mDrawMode |
bool | mDrawGrid |
bool | mLin |
Static Public Attributes | |
static const EnumValueSymbol | kInterpStrings [nInterpolations] |
static constexpr EffectParameter | FilterLength |
static constexpr EffectParameter | CurveName |
static constexpr EffectParameter | InterpLin |
static constexpr EnumParameter | InterpMeth |
static constexpr EffectParameter | DrawMode |
static constexpr EffectParameter | DrawGrid |
static constexpr EffectParameter | dBMin |
static constexpr EffectParameter | dBMax |
Parameters of the Equalization effects that persist in configuration files.
Definition at line 29 of file EqualizationParameters.h.
Enumerator | |
---|---|
kBspline | |
kCosine | |
kCubic | |
nInterpolations |
Definition at line 30 of file EqualizationParameters.h.
|
explicit |
Definition at line 26 of file EqualizationParameters.cpp.
References CurrentSettingsGroup(), dBMax, dBMin, EffectParameter< Structure, Member, Type, Value >::def, DrawGrid, DrawMode, PluginSettings::GetConfig(), manager, mdBMax, mdBMin, mDrawGrid, mDrawMode, PluginSettings::Private, and wxT().
bool EqualizationParameters::IsLinear | ( | ) | const |
Definition at line 71 of file EqualizationParameters.cpp.
References mDrawMode, and mLin.
Referenced by EqualizationFilter::CalcFilter(), EqualizationFilter::ChooseEnvelopeToPaint(), and EqualizationCurvesList::EnvelopeUpdated().
void EqualizationParameters::LoadDefaults | ( | int | options | ) |
Definition at line 44 of file EqualizationParameters.cpp.
References dBMax, dBMin, EffectParameter< Structure, Member, Type, Value >::def, DrawGrid, DrawMode, kEqOptionCurve, kEqOptionGraphic, mdBMax, mdBMin, mDrawGrid, and mDrawMode.
Referenced by EqualizationBase::DoLoadFactoryDefaults().
void EqualizationParameters::SaveConfig | ( | ) | const |
Definition at line 57 of file EqualizationParameters.cpp.
References CurrentSettingsGroup(), mdBMax, mdBMin, mDrawGrid, mDrawMode, mSettingsManager, PluginSettings::Private, PluginSettings::SetConfig(), and wxT().
|
staticconstexpr |
Definition at line 57 of file EqualizationParameters.h.
|
staticconstexpr |
Definition at line 69 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), and LoadDefaults().
|
staticconstexpr |
Definition at line 67 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), and LoadDefaults().
|
staticconstexpr |
Definition at line 65 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), and LoadDefaults().
|
staticconstexpr |
Definition at line 63 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), and LoadDefaults().
|
staticconstexpr |
Definition at line 55 of file EqualizationParameters.h.
Referenced by EqualizationBase::Parameters().
|
staticconstexpr |
Definition at line 59 of file EqualizationParameters.h.
Referenced by EqualizationBase::Parameters().
|
staticconstexpr |
Definition at line 61 of file EqualizationParameters.h.
Referenced by EqualizationBase::Parameters().
|
static |
Definition at line 36 of file EqualizationParameters.h.
Referenced by EqualizationUI::PopulateOrExchange().
wxString EqualizationParameters::mCurveName |
Definition at line 45 of file EqualizationParameters.h.
Referenced by EqualizationBase::Init(), EqualizationUI::OnIdle(), EqualizationCurvesList::Select(), EqualizationUI::UpdateCurves(), and EqualizationUI::ValidateUI().
float EqualizationParameters::mdBMax |
Definition at line 47 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), LoadDefaults(), EqualizationPanel::OnMouseEvent(), EqualizationPanel::OnPaint(), EqualizationUI::OnSliderDBMAX(), and SaveConfig().
float EqualizationParameters::mdBMin |
Definition at line 46 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), LoadDefaults(), EqualizationUI::OnSliderDBMIN(), SaveConfig(), and EqualizationUI::UpdateRuler().
bool EqualizationParameters::mDrawGrid |
Definition at line 51 of file EqualizationParameters.h.
Referenced by EqualizationParameters(), LoadDefaults(), EqualizationUI::OnGridOnOff(), and SaveConfig().
bool EqualizationParameters::mDrawMode |
Definition at line 50 of file EqualizationParameters.h.
Referenced by EqualizationCurvesList::EnvelopeUpdated(), EqualizationParameters(), EqualizationBandSliders::Flatten(), IsLinear(), LoadDefaults(), EqualizationUI::OnCurve(), EqualizationUI::OnDrawMode(), EqualizationUI::OnGraphicMode(), EqualizationUI::OnInterp(), and SaveConfig().
int EqualizationParameters::mInterp |
Definition at line 49 of file EqualizationParameters.h.
Referenced by EqualizationBandSliders::GraphicEQ().
bool EqualizationParameters::mLin |
Definition at line 52 of file EqualizationParameters.h.
Referenced by EqualizationBase::Init(), IsLinear(), EqualizationUI::OnLinFreq(), EqualizationCurvesList::setCurve(), EqualizationUI::TransferDataToWindow(), EqualizationUI::UpdateDraw(), and EqualizationUI::UpdateGraphic().
size_t EqualizationParameters::mM |
Definition at line 48 of file EqualizationParameters.h.
Referenced by EqualizationFilter::CalcFilter(), EqualizationUI::OnSliderM(), EqualizationUI::PopulateOrExchange(), EqualizationBase::Process(), and EqualizationBase::ProcessOne().
const EffectSettingsManager& EqualizationParameters::mSettingsManager |
Definition at line 43 of file EqualizationParameters.h.
Referenced by SaveConfig().