Audacity  2.2.0
Leveller.cpp File Reference
#include "../Audacity.h"
#include "Leveller.h"
#include <math.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/valgen.h>
#include "../Prefs.h"
#include "../ShuttleGui.h"

Macros

#define LEVELER_FACTORS   6
 

Enumerations

enum  kPasses {
  kLight, kModerate, kHeavy, kHeavier,
  kHeaviest, kNumPasses
}
 

Functions

 Param (Level, int, XO("dB"), 10, 0, Enums::NumDbChoices-1, 1)
 
 Param (Passes, int, XO("Passes"), kModerate, 0, kNumPasses-1, 1)
 

Variables

static const wxString kPassStrings [kNumPasses]
 
static double gLimit [LEVELER_FACTORS] = { 0.0001, 0.0, 0.1, 0.3, 0.5, 1.0 }
 
static double gAdjLimit [LEVELER_FACTORS]
 
static double gAddOnValue [LEVELER_FACTORS]
 
static double gAdjFactor [LEVELER_FACTORS] = { 0.80, 1.00, 1.20, 1.20, 1.00, 0.80 }
 

Macro Definition Documentation

#define LEVELER_FACTORS   6

Enumeration Type Documentation

enum kPasses
Enumerator
kLight 
kModerate 
kHeavy 
kHeavier 
kHeaviest 
kNumPasses 

Function Documentation

Param ( Level  ,
int  ,
XO("dB")  ,
10  ,
,
Enums::NumDbChoices 1,
 
)
Param ( Passes  ,
int  ,
XO("Passes")  ,
kModerate  ,
,
kNumPasses 1,
 
)

Variable Documentation

double gAddOnValue[LEVELER_FACTORS]
static
double gAdjFactor[LEVELER_FACTORS] = { 0.80, 1.00, 1.20, 1.20, 1.00, 0.80 }
static
double gAdjLimit[LEVELER_FACTORS]
static
double gLimit[LEVELER_FACTORS] = { 0.0001, 0.0, 0.1, 0.3, 0.5, 1.0 }
static
const wxString kPassStrings[kNumPasses]
static
Initial value:
=
{
XO("Light"),
XO("Moderate"),
XO("Heavy"),
XO("Heavier"),
XO("Heaviest"),
}
#define XO(s)
Definition: Audacity.h:202

Referenced by EffectLeveller::GetAutomationParameters(), EffectLeveller::PopulateOrExchange(), and EffectLeveller::SetAutomationParameters().