Audacity  3.0.3
Namespaces | Enumerations | Functions | Variables
Loudness.cpp File Reference
#include "Loudness.h"
#include <math.h>
#include <wx/intl.h>
#include <wx/simplebook.h>
#include <wx/valgen.h>
#include "Internat.h"
#include "Prefs.h"
#include "../ProjectFileManager.h"
#include "../Shuttle.h"
#include "../ShuttleGui.h"
#include "../WaveTrack.h"
#include "../widgets/valnum.h"
#include "../widgets/ProgressDialog.h"
#include "LoadEffects.h"
Include dependency graph for Loudness.cpp:

Go to the source code of this file.

Namespaces

 anonymous_namespace{Loudness.cpp}
 

Enumerations

enum  kNormalizeTargets { kLoudness, kRMS, nAlgos }
 

Functions

 Param (StereoInd, bool, wxT("StereoIndependent"), false, false, true, 1)
 
 Param (LUFSLevel, double, wxT("LUFSLevel"), -23.0, -145.0, 0.0, 1)
 
 Param (RMSLevel, double, wxT("RMSLevel"), -20.0, -145.0, 0.0, 1)
 
 Param (DualMono, bool, wxT("DualMono"), true, false, true, 1)
 
 Param (NormalizeTo, int, wxT("NormalizeTo"), kLoudness, 0, nAlgos-1, 1)
 

Variables

static const EnumValueSymbol kNormalizeTargetStrings [nAlgos]
 
BuiltinEffectsModule::Registration< EffectLoudnessanonymous_namespace{Loudness.cpp}::reg
 

Enumeration Type Documentation

◆ kNormalizeTargets

Enumerator
kLoudness 
kRMS 
nAlgos 

Definition at line 37 of file Loudness.cpp.

38 {
39  kLoudness,
40  kRMS,
41  nAlgos
42 };

Function Documentation

◆ Param() [1/5]

Param ( DualMono  ,
bool  ,
wxT("DualMono")  ,
true  ,
false  ,
true  ,
 
)

◆ Param() [2/5]

Param ( LUFSLevel  ,
double  ,
wxT("LUFSLevel")  ,
-23.  0,
-145.  0,
0.  0,
 
)

◆ Param() [3/5]

Param ( NormalizeTo  ,
int  ,
wxT("NormalizeTo")  ,
kLoudness  ,
,
nAlgos 1,
 
)

◆ Param() [4/5]

Param ( RMSLevel  ,
double  ,
wxT("RMSLevel")  ,
-20.  0,
-145.  0,
0.  0,
 
)

◆ Param() [5/5]

Param ( StereoInd  ,
bool  ,
wxT("StereoIndependent")  ,
false  ,
false  ,
true  ,
 
)

Variable Documentation

◆ kNormalizeTargetStrings

const EnumValueSymbol kNormalizeTargetStrings[nAlgos]
static
Initial value:
=
{
{ XO("perceived loudness") },
{ XO("RMS") }
}

Definition at line 44 of file Loudness.cpp.

Referenced by EffectLoudness::PopulateOrExchange().

nAlgos
@ nAlgos
Definition: Loudness.cpp:41
XO
#define XO(s)
Definition: Internat.h:31
kLoudness
@ kLoudness
Definition: Loudness.cpp:39
kRMS
@ kRMS
Definition: Loudness.cpp:40