Audacity 3.2.0
Classes | Typedefs | Functions | Variables
TruncSilenceBase.cpp File Reference
#include "TruncSilenceBase.h"
#include "BasicUI.h"
#include "EffectOutputTracks.h"
#include "Prefs.h"
#include "Project.h"
#include "SyncLock.h"
#include "WaveTrack.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <list>
Include dependency graph for TruncSilenceBase.cpp:

Go to the source code of this file.

Classes

class  Enums
 
class  RegionList
 

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
 

Typedef Documentation

◆ Region

Definition at line 54 of file TruncSilenceBase.cpp.

Function Documentation

◆ enumToDB()

static double enumToDB ( int  val)
inlinestatic

Definition at line 47 of file TruncSilenceBase.cpp.

48{
49 return -(5.0 * val + 20.0);
50}

Referenced by TruncSilenceBase::LoadSettings().

Here is the caller graph for this function:

Variable Documentation

◆ DEF_BlendFrameCount

const size_t DEF_BlendFrameCount = 100
static

Definition at line 82 of file TruncSilenceBase.cpp.

Referenced by TruncSilenceBase::TruncSilenceBase().

◆ DEF_MinTruncMs

const double DEF_MinTruncMs = 0.001
static

◆ detectFrac

const double detectFrac = 0.4

Definition at line 89 of file TruncSilenceBase.cpp.

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

◆ kObsoleteActions

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

Definition at line 65 of file TruncSilenceBase.cpp.

Referenced by TruncSilenceBase::LoadSettings().

◆ nObsoleteActions

const size_t nObsoleteActions = WXSIZEOF(kObsoleteActions)
static

Definition at line 71 of file TruncSilenceBase.cpp.

Referenced by TruncSilenceBase::LoadSettings().