Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions | Variables
TruncSilence.cpp File Reference
#include "TruncSilence.h"
#include "LoadEffects.h"
#include <algorithm>
#include <list>
#include <limits>
#include <math.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/valgen.h>
#include "Prefs.h"
#include "Project.h"
#include "../ProjectSettings.h"
#include "../ShuttleGui.h"
#include "../SyncLock.h"
#include "../WaveTrack.h"
#include "../widgets/valnum.h"
#include "../widgets/AudacityMessageBox.h"
Include dependency graph for TruncSilence.cpp:

Go to the source code of this file.

Classes

class  Enums
 Enums is a helper class for Shuttle. It defines enumerations which are used in effects dialogs, in the effects themselves and in preferences. More...
 
class  RegionList
 

Namespaces

namespace  anonymous_namespace{TruncSilence.cpp}
 

Typedefs

using Region = WaveTrack::Region
 

Functions

static double enumToDB (int val)
 

Variables

static CommandParameters::ObsoleteMap kObsoleteActions []
 
static const size_t nObsoleteActions = WXSIZEOF( kObsoleteActions )
 
static const size_t DEF_BlendFrameCount = 100
 
static const double DEF_MinTruncMs = 0.001
 
const double detectFrac = 0.4
 
BuiltinEffectsModule::Registration< EffectTruncSilenceanonymous_namespace{TruncSilence.cpp}::reg
 

Typedef Documentation

◆ Region

Definition at line 70 of file TruncSilence.cpp.

Function Documentation

◆ enumToDB()

static double enumToDB ( int  val)
inlinestatic

Definition at line 66 of file TruncSilence.cpp.

66{ return -( 5.0 * val + 20.0 ); }

Referenced by EffectTruncSilence::LoadSettings().

Here is the caller graph for this function:

Variable Documentation

◆ DEF_BlendFrameCount

const size_t DEF_BlendFrameCount = 100
static

Definition at line 97 of file TruncSilence.cpp.

Referenced by EffectTruncSilence::EffectTruncSilence().

◆ DEF_MinTruncMs

const double DEF_MinTruncMs = 0.001
static

◆ detectFrac

const double detectFrac = 0.4

Definition at line 104 of file TruncSilence.cpp.

Referenced by EffectTruncSilence::Analyze(), and EffectTruncSilence::DoRemoval().

◆ kObsoleteActions

CommandParameters::ObsoleteMap kObsoleteActions[]
static
Initial value:
= {
{ wxT("0"), 0 },
{ wxT("1"), 1 },
}
wxT("CloseDown"))

Definition at line 81 of file TruncSilence.cpp.

Referenced by EffectTruncSilence::LoadSettings().

◆ nObsoleteActions

const size_t nObsoleteActions = WXSIZEOF( kObsoleteActions )
static

Definition at line 87 of file TruncSilence.cpp.

Referenced by EffectTruncSilence::LoadSettings().