Audacity  3.2.0
Public Member Functions | Public Attributes | Private Member Functions | List of all members
NoiseRemovalDialog Class Referencefinal

Dialog used with EffectNoiseRemoval. More...

#include <NoiseRemoval.h>

Inheritance diagram for NoiseRemovalDialog:
[legend]
Collaboration diagram for NoiseRemovalDialog:
[legend]

Public Member Functions

 NoiseRemovalDialog (EffectNoiseRemoval *effect, wxWindow *parent)
 
wxSizer * MakeNoiseRemovalDialog (bool call_fit=true, bool set_sizer=true)
 
void PopulateOrExchange (ShuttleGui &S) override
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
- Public Member Functions inherited from EffectDialog
 EffectDialog (wxWindow *parent, const TranslatableString &title, int type=0, int flags=wxDEFAULT_DIALOG_STYLE, int additionalButtons=0)
 
void Init ()
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
bool Validate () override
 
virtual void OnOk (wxCommandEvent &evt)
 
- Public Member Functions inherited from wxDialogWrapper
 wxDialogWrapper ()
 
 wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog"))
 
bool Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog"))
 
void SetTitle (const TranslatableString &title)
 
void SetLabel (const TranslatableString &title)
 
void SetName (const TranslatableString &title)
 
void SetName ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< wxDialog >
 wxTabTraversalWrapper (Args &&... args)
 
 wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete
 
 wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Public Attributes

EffectNoiseRemovalm_pEffect
 
wxButton * m_pButton_GetProfile
 
wxButton * m_pButton_Preview
 
wxButton * m_pButton_RemoveNoise
 
wxRadioButton * mKeepSignal
 
wxRadioButton * mKeepNoise
 
wxSlider * mSensitivityS
 
wxSlider * mGainS
 
wxSlider * mFreqS
 
wxSlider * mTimeS
 
wxTextCtrl * mSensitivityT
 
wxTextCtrl * mGainT
 
wxTextCtrl * mFreqT
 
wxTextCtrl * mTimeT
 
double mSensitivity
 
double mGain
 
double mFreq
 
double mTime
 
bool mbLeaveNoise
 

Private Member Functions

void OnGetProfile (wxCommandEvent &event)
 
void OnKeepNoise (wxCommandEvent &event)
 
void OnPreview (wxCommandEvent &event) override
 
void OnRemoveNoise (wxCommandEvent &event)
 
void OnCancel (wxCommandEvent &event)
 
void OnSensitivityText (wxCommandEvent &event)
 
void OnGainText (wxCommandEvent &event)
 
void OnFreqText (wxCommandEvent &event)
 
void OnTimeText (wxCommandEvent &event)
 
void OnSensitivitySlider (wxCommandEvent &event)
 
void OnGainSlider (wxCommandEvent &event)
 
void OnFreqSlider (wxCommandEvent &event)
 
void OnTimeSlider (wxCommandEvent &event)
 

Detailed Description

Dialog used with EffectNoiseRemoval.

Definition at line 133 of file NoiseRemoval.h.

Constructor & Destructor Documentation

◆ NoiseRemovalDialog()

NoiseRemovalDialog::NoiseRemovalDialog ( EffectNoiseRemoval effect,
wxWindow *  parent 
)

Definition at line 644 of file NoiseRemoval.cpp.

646  : EffectDialog( parent, XO("Noise Removal"), EffectTypeProcess)
647 {
648  m_pEffect = effect;
649 
650  // NULL out the control members until the controls are created.
651  m_pButton_GetProfile = NULL;
652  m_pButton_Preview = NULL;
653  m_pButton_RemoveNoise = NULL;
654 
655  Init();
656 
658  (wxButton *)wxWindow::FindWindowById(ID_EFFECT_PREVIEW, this);
660  (wxButton *)wxWindow::FindWindowById(wxID_OK, this);
661 }

References ID_EFFECT_PREVIEW.

Member Function Documentation

◆ MakeNoiseRemovalDialog()

wxSizer* NoiseRemovalDialog::MakeNoiseRemovalDialog ( bool  call_fit = true,
bool  set_sizer = true 
)

◆ OnCancel()

void NoiseRemovalDialog::OnCancel ( wxCommandEvent &  event)
private

Definition at line 710 of file NoiseRemoval.cpp.

711 {
712  EndModal(0);
713 }

◆ OnFreqSlider()

void NoiseRemovalDialog::OnFreqSlider ( wxCommandEvent &  event)
private

Definition at line 840 of file NoiseRemoval.cpp.

841 {
842  mFreq = mFreqS->GetValue() * 10;
843  mFreqT->SetValue(wxString::Format(wxT("%d"), (int)mFreq));
844 }

References mFreq, mFreqS, and mFreqT.

◆ OnFreqText()

void NoiseRemovalDialog::OnFreqText ( wxCommandEvent &  event)
private

Definition at line 816 of file NoiseRemoval.cpp.

817 {
818  mFreqT->GetValue().ToDouble(&mFreq);
819  mFreqS->SetValue(TrapLong(mFreq / 10, FREQ_MIN, FREQ_MAX));
820 }

References FREQ_MAX, FREQ_MIN, mFreq, mFreqS, mFreqT, and TrapLong().

Here is the call graph for this function:

◆ OnGainSlider()

void NoiseRemovalDialog::OnGainSlider ( wxCommandEvent &  event)
private

Definition at line 834 of file NoiseRemoval.cpp.

835 {
836  mGain = mGainS->GetValue();
837  mGainT->SetValue(wxString::Format(wxT("%d"), (int)mGain));
838 }

References mGain, mGainS, and mGainT.

◆ OnGainText()

void NoiseRemovalDialog::OnGainText ( wxCommandEvent &  event)
private

Definition at line 810 of file NoiseRemoval.cpp.

811 {
812  mGainT->GetValue().ToDouble(&mGain);
813  mGainS->SetValue(TrapLong(mGain, GAIN_MIN, GAIN_MAX));
814 }

References GAIN_MAX, GAIN_MIN, mGain, mGainS, mGainT, and TrapLong().

Here is the call graph for this function:

◆ OnGetProfile()

void NoiseRemovalDialog::OnGetProfile ( wxCommandEvent &  event)
private

Definition at line 663 of file NoiseRemoval.cpp.

664 {
665  EndModal(1);
666 }

◆ OnKeepNoise()

void NoiseRemovalDialog::OnKeepNoise ( wxCommandEvent &  event)
private

Definition at line 668 of file NoiseRemoval.cpp.

669 {
670  mbLeaveNoise = mKeepNoise->GetValue();
671 }

References mbLeaveNoise, and mKeepNoise.

◆ OnPreview()

void NoiseRemovalDialog::OnPreview ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from EffectDialog.

Definition at line 673 of file NoiseRemoval.cpp.

674 {
675  // Save & restore parameters around Preview, because we didn't do OK.
676  bool oldDoProfile = m_pEffect->mDoProfile;
677  bool oldLeaveNoise = m_pEffect->mbLeaveNoise;
678  double oldSensitivity = m_pEffect->mSensitivity;
679  double oldGain = m_pEffect->mNoiseGain;
680  double oldFreq = m_pEffect->mFreqSmoothingHz;
681  double oldTime = m_pEffect->mAttackDecayTime;
682 
684 
685  m_pEffect->mDoProfile = false;
691 
692  auto cleanup = finally( [&] {
693  m_pEffect->mSensitivity = oldSensitivity;
694  m_pEffect->mNoiseGain = oldGain;
695  m_pEffect->mFreqSmoothingHz = oldFreq;
696  m_pEffect->mAttackDecayTime = oldTime;
697  m_pEffect->mbLeaveNoise = oldLeaveNoise;
698  m_pEffect->mDoProfile = oldDoProfile;
699  } );
700 
701  m_pEffect->Preview( false );
702 }

References m_pEffect, EffectNoiseRemoval::mAttackDecayTime, EffectNoiseRemoval::mbLeaveNoise, mbLeaveNoise, EffectNoiseRemoval::mDoProfile, mFreq, EffectNoiseRemoval::mFreqSmoothingHz, mGain, EffectNoiseRemoval::mNoiseGain, EffectNoiseRemoval::mSensitivity, mSensitivity, mTime, Effect::Preview(), and TransferDataFromWindow().

Here is the call graph for this function:

◆ OnRemoveNoise()

void NoiseRemovalDialog::OnRemoveNoise ( wxCommandEvent &  event)
private

Definition at line 704 of file NoiseRemoval.cpp.

705 {
706  mbLeaveNoise = mKeepNoise->GetValue();
707  EndModal(2);
708 }

References mbLeaveNoise, and mKeepNoise.

◆ OnSensitivitySlider()

void NoiseRemovalDialog::OnSensitivitySlider ( wxCommandEvent &  event)
private

Definition at line 828 of file NoiseRemoval.cpp.

829 {
830  mSensitivity = mSensitivityS->GetValue()/100.0 - 20.0;
831  mSensitivityT->SetValue(wxString::Format(wxT("%.2f"), mSensitivity));
832 }

References mSensitivity, mSensitivityS, and mSensitivityT.

◆ OnSensitivityText()

void NoiseRemovalDialog::OnSensitivityText ( wxCommandEvent &  event)
private

Definition at line 804 of file NoiseRemoval.cpp.

805 {
806  mSensitivityT->GetValue().ToDouble(&mSensitivity);
808 }

References mSensitivity, mSensitivityS, mSensitivityT, SENSITIVITY_MAX, SENSITIVITY_MIN, and TrapLong().

Here is the call graph for this function:

◆ OnTimeSlider()

void NoiseRemovalDialog::OnTimeSlider ( wxCommandEvent &  event)
private

Definition at line 846 of file NoiseRemoval.cpp.

847 {
848  mTime = mTimeS->GetValue() / (TIME_MAX*1.0);
849  mTimeT->SetValue(wxString::Format(wxT("%.2f"), mTime));
850 }

References mTime, mTimeS, mTimeT, and TIME_MAX.

◆ OnTimeText()

void NoiseRemovalDialog::OnTimeText ( wxCommandEvent &  event)
private

Definition at line 822 of file NoiseRemoval.cpp.

823 {
824  mTimeT->GetValue().ToDouble(&mTime);
825  mTimeS->SetValue(TrapLong(mTime * TIME_MAX + 0.5, TIME_MIN, TIME_MAX));
826 }

References mTime, mTimeS, mTimeT, TIME_MAX, TIME_MIN, and TrapLong().

Here is the call graph for this function:

◆ PopulateOrExchange()

void NoiseRemovalDialog::PopulateOrExchange ( ShuttleGui S)
overridevirtual

This is a virtual function which will be overridden to provide the actual parameters that we want for each kind of dialog.

Reimplemented from EffectDialog.

Definition at line 715 of file NoiseRemoval.cpp.

716 {
717  S.StartStatic(XO("Step 1"));
718  {
719  S.AddVariableText(XO(
720 "Select a few seconds of just noise so Audacity knows what to filter out,\nthen click Get Noise Profile:"));
721  m_pButton_GetProfile = S.Id(ID_BUTTON_GETPROFILE).AddButton(XXO("&Get Noise Profile"));
722  }
723  S.EndStatic();
724 
725  S.StartStatic(XO("Step 2"));
726  {
727  S.AddVariableText(XO(
728 "Select all of the audio you want filtered, choose how much noise you want\nfiltered out, and then click 'OK' to remove noise.\n"));
729 
730  S.StartMultiColumn(3, wxEXPAND);
731  S.SetStretchyCol(2);
732  {
733  mGainT = S.Id(ID_GAIN_TEXT)
734  .Validator<wxTextValidator>(wxFILTER_NUMERIC)
735  .AddTextBox(XXO("Noise re&duction (dB):"), wxT(""), 0);
736 
737  mGainS = S.Id(ID_GAIN_SLIDER)
738  .Name(XO("Noise reduction"))
739  .Style(wxSL_HORIZONTAL)
740  .MinSize( { 150, -1 } )
741  .AddSlider( {}, 0, GAIN_MAX, GAIN_MIN);
742 
744  .Validator<wxTextValidator>(wxFILTER_NUMERIC)
745  .AddTextBox(XXO("&Sensitivity (dB):"), wxT(""), 0);
747  .Name(XO("Sensitivity"))
748  .Style(wxSL_HORIZONTAL)
749  .MinSize( { 150, -1 } )
750  .AddSlider( {}, 0, SENSITIVITY_MAX, SENSITIVITY_MIN);
751 
752  mFreqT = S.Id(ID_FREQ_TEXT)
753  .Validator<wxTextValidator>(wxFILTER_NUMERIC)
754  .AddTextBox(XXO("Fr&equency smoothing (Hz):"), wxT(""), 0);
755  mFreqS = S.Id(ID_FREQ_SLIDER)
756  .Name(XO("Frequency smoothing"))
757  .Style(wxSL_HORIZONTAL)
758  .MinSize( { 150, -1 } )
759  .AddSlider( {}, 0, FREQ_MAX, FREQ_MIN);
760 
761  mTimeT = S.Id(ID_TIME_TEXT)
762  .Validator<wxTextValidator>(wxFILTER_NUMERIC)
763  .AddTextBox(XXO("Attac&k/decay time (secs):"), wxT(""), 0);
764  mTimeS = S.Id(ID_TIME_SLIDER)
765  .Name(XO("Attack/decay time"))
766  .Style(wxSL_HORIZONTAL)
767  .MinSize( { 150, -1 } )
768  .AddSlider( {}, 0, TIME_MAX, TIME_MIN);
769 
770  S.AddPrompt(XXO("Noise:"));
772  .AddRadioButton(XXO("Re&move"));
774  .AddRadioButtonToGroup(XXO("&Isolate"));
775  }
776  S.EndMultiColumn();
777  }
778  S.EndStatic();
779 }

References FREQ_MAX, FREQ_MIN, GAIN_MAX, GAIN_MIN, ID_BUTTON_GETPROFILE, ID_FREQ_SLIDER, ID_FREQ_TEXT, ID_GAIN_SLIDER, ID_GAIN_TEXT, ID_RADIOBUTTON_KEEPNOISE, ID_RADIOBUTTON_KEEPSIGNAL, ID_SENSITIVITY_SLIDER, ID_SENSITIVITY_TEXT, ID_TIME_SLIDER, ID_TIME_TEXT, m_pButton_GetProfile, mFreqS, mFreqT, mGainS, mGainT, mKeepNoise, mKeepSignal, mSensitivityS, mSensitivityT, mTimeS, mTimeT, S, SENSITIVITY_MAX, SENSITIVITY_MIN, TIME_MAX, TIME_MIN, XO, and XXO.

◆ TransferDataFromWindow()

bool NoiseRemovalDialog::TransferDataFromWindow ( )
override

Definition at line 798 of file NoiseRemoval.cpp.

799 {
800  // Nothing to do here
801  return true;
802 }

Referenced by OnPreview().

Here is the caller graph for this function:

◆ TransferDataToWindow()

bool NoiseRemovalDialog::TransferDataToWindow ( )
override

Definition at line 781 of file NoiseRemoval.cpp.

782 {
783  mSensitivityT->SetValue(wxString::Format(wxT("%.2f"), mSensitivity));
784  mGainT->SetValue(wxString::Format(wxT("%d"), (int)mGain));
785  mFreqT->SetValue(wxString::Format(wxT("%d"), (int)mFreq));
786  mTimeT->SetValue(wxString::Format(wxT("%.2f"), mTime));
787  mKeepNoise->SetValue(mbLeaveNoise);
788  mKeepSignal->SetValue(!mbLeaveNoise);
789 
791  mGainS->SetValue(TrapLong(mGain, GAIN_MIN, GAIN_MAX));
792  mFreqS->SetValue(TrapLong(mFreq / 10, FREQ_MIN, FREQ_MAX));
793  mTimeS->SetValue(TrapLong(mTime * TIME_MAX + 0.5, TIME_MIN, TIME_MAX));
794 
795  return true;
796 }

References FREQ_MAX, FREQ_MIN, GAIN_MAX, GAIN_MIN, mbLeaveNoise, mFreq, mFreqS, mFreqT, mGain, mGainS, mGainT, mKeepNoise, mKeepSignal, mSensitivity, mSensitivityS, mSensitivityT, mTime, mTimeS, mTimeT, SENSITIVITY_MAX, SENSITIVITY_MIN, TIME_MAX, TIME_MIN, and TrapLong().

Referenced by EffectNoiseRemoval::ShowHostInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_pButton_GetProfile

wxButton* NoiseRemovalDialog::m_pButton_GetProfile

Definition at line 168 of file NoiseRemoval.h.

Referenced by PopulateOrExchange().

◆ m_pButton_Preview

wxButton* NoiseRemovalDialog::m_pButton_Preview

Definition at line 169 of file NoiseRemoval.h.

Referenced by EffectNoiseRemoval::ShowHostInterface().

◆ m_pButton_RemoveNoise

wxButton* NoiseRemovalDialog::m_pButton_RemoveNoise

Definition at line 170 of file NoiseRemoval.h.

Referenced by EffectNoiseRemoval::ShowHostInterface().

◆ m_pEffect

EffectNoiseRemoval* NoiseRemovalDialog::m_pEffect

Definition at line 166 of file NoiseRemoval.h.

Referenced by OnPreview().

◆ mbLeaveNoise

bool NoiseRemovalDialog::mbLeaveNoise

◆ mFreq

double NoiseRemovalDialog::mFreq

◆ mFreqS

wxSlider* NoiseRemovalDialog::mFreqS

Definition at line 177 of file NoiseRemoval.h.

Referenced by OnFreqSlider(), OnFreqText(), PopulateOrExchange(), and TransferDataToWindow().

◆ mFreqT

wxTextCtrl* NoiseRemovalDialog::mFreqT

Definition at line 182 of file NoiseRemoval.h.

Referenced by OnFreqSlider(), OnFreqText(), PopulateOrExchange(), and TransferDataToWindow().

◆ mGain

double NoiseRemovalDialog::mGain

◆ mGainS

wxSlider* NoiseRemovalDialog::mGainS

Definition at line 176 of file NoiseRemoval.h.

Referenced by OnGainSlider(), OnGainText(), PopulateOrExchange(), and TransferDataToWindow().

◆ mGainT

wxTextCtrl* NoiseRemovalDialog::mGainT

Definition at line 181 of file NoiseRemoval.h.

Referenced by OnGainSlider(), OnGainText(), PopulateOrExchange(), and TransferDataToWindow().

◆ mKeepNoise

wxRadioButton* NoiseRemovalDialog::mKeepNoise

◆ mKeepSignal

wxRadioButton* NoiseRemovalDialog::mKeepSignal

◆ mSensitivity

double NoiseRemovalDialog::mSensitivity

◆ mSensitivityS

wxSlider* NoiseRemovalDialog::mSensitivityS

◆ mSensitivityT

wxTextCtrl* NoiseRemovalDialog::mSensitivityT

◆ mTime

double NoiseRemovalDialog::mTime

◆ mTimeS

wxSlider* NoiseRemovalDialog::mTimeS

Definition at line 178 of file NoiseRemoval.h.

Referenced by OnTimeSlider(), OnTimeText(), PopulateOrExchange(), and TransferDataToWindow().

◆ mTimeT

wxTextCtrl* NoiseRemovalDialog::mTimeT

Definition at line 183 of file NoiseRemoval.h.

Referenced by OnTimeSlider(), OnTimeText(), PopulateOrExchange(), and TransferDataToWindow().


The documentation for this class was generated from the following files:
ID_SENSITIVITY_SLIDER
@ ID_SENSITIVITY_SLIDER
Definition: NoiseRemoval.cpp:604
EffectTypeProcess
@ EffectTypeProcess
Definition: EffectInterface.h:56
EffectNoiseRemoval::mDoProfile
bool mDoProfile
Definition: NoiseRemoval.h:63
S
#define S(N)
Definition: ToChars.cpp:64
EffectDialog::Init
void Init()
Definition: EffectUI.cpp:1411
NoiseRemovalDialog::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition: NoiseRemoval.cpp:798
TIME_MIN
#define TIME_MIN
Definition: NoiseRemoval.cpp:623
NoiseRemovalDialog::mKeepNoise
wxRadioButton * mKeepNoise
Definition: NoiseRemoval.h:173
FREQ_MAX
#define FREQ_MAX
Definition: NoiseRemoval.cpp:621
SENSITIVITY_MAX
#define SENSITIVITY_MAX
Definition: NoiseRemoval.cpp:615
TIME_MAX
#define TIME_MAX
Definition: NoiseRemoval.cpp:624
XO
#define XO(s)
Definition: Internat.h:31
EffectDialog::EffectDialog
EffectDialog(wxWindow *parent, const TranslatableString &title, int type=0, int flags=wxDEFAULT_DIALOG_STYLE, int additionalButtons=0)
Definition: EffectUI.cpp:1400
NoiseRemovalDialog::mFreq
double mFreq
Definition: NoiseRemoval.h:187
ID_EFFECT_PREVIEW
#define ID_EFFECT_PREVIEW
Definition: Effect.h:508
GAIN_MIN
#define GAIN_MIN
Definition: NoiseRemoval.cpp:617
ID_FREQ_TEXT
@ ID_FREQ_TEXT
Definition: NoiseRemoval.cpp:610
NoiseRemovalDialog::mGainT
wxTextCtrl * mGainT
Definition: NoiseRemoval.h:181
ID_TIME_TEXT
@ ID_TIME_TEXT
Definition: NoiseRemoval.cpp:611
NoiseRemovalDialog::mSensitivityT
wxTextCtrl * mSensitivityT
Definition: NoiseRemoval.h:180
ID_BUTTON_GETPROFILE
@ ID_BUTTON_GETPROFILE
Definition: NoiseRemoval.cpp:600
XXO
#define XXO(s)
Definition: Internat.h:44
NoiseRemovalDialog::m_pButton_Preview
wxButton * m_pButton_Preview
Definition: NoiseRemoval.h:169
EffectNoiseRemoval::mbLeaveNoise
bool mbLeaveNoise
Definition: NoiseRemoval.h:83
NoiseRemovalDialog::mTimeS
wxSlider * mTimeS
Definition: NoiseRemoval.h:178
NoiseRemovalDialog::mFreqT
wxTextCtrl * mFreqT
Definition: NoiseRemoval.h:182
NoiseRemovalDialog::mSensitivity
double mSensitivity
Definition: NoiseRemoval.h:185
SENSITIVITY_MIN
#define SENSITIVITY_MIN
Definition: NoiseRemoval.cpp:614
EffectNoiseRemoval::mAttackDecayTime
double mAttackDecayTime
Definition: NoiseRemoval.h:82
ID_TIME_SLIDER
@ ID_TIME_SLIDER
Definition: NoiseRemoval.cpp:607
EffectNoiseRemoval::mSensitivity
double mSensitivity
Definition: NoiseRemoval.h:79
ID_RADIOBUTTON_KEEPNOISE
@ ID_RADIOBUTTON_KEEPNOISE
Definition: NoiseRemoval.cpp:603
NoiseRemovalDialog::m_pButton_GetProfile
wxButton * m_pButton_GetProfile
Definition: NoiseRemoval.h:168
NoiseRemovalDialog::mGainS
wxSlider * mGainS
Definition: NoiseRemoval.h:176
ID_GAIN_TEXT
@ ID_GAIN_TEXT
Definition: NoiseRemoval.cpp:609
FREQ_MIN
#define FREQ_MIN
Definition: NoiseRemoval.cpp:620
Effect::Preview
virtual void Preview(bool dryOnly)
Definition: Effect.cpp:2053
GAIN_MAX
#define GAIN_MAX
Definition: NoiseRemoval.cpp:618
ID_GAIN_SLIDER
@ ID_GAIN_SLIDER
Definition: NoiseRemoval.cpp:605
EffectNoiseRemoval::mFreqSmoothingHz
double mFreqSmoothingHz
Definition: NoiseRemoval.h:80
NoiseRemovalDialog::m_pEffect
EffectNoiseRemoval * m_pEffect
Definition: NoiseRemoval.h:166
NoiseRemovalDialog::mKeepSignal
wxRadioButton * mKeepSignal
Definition: NoiseRemoval.h:172
NoiseRemovalDialog::mTime
double mTime
Definition: NoiseRemoval.h:188
NoiseRemovalDialog::mGain
double mGain
Definition: NoiseRemoval.h:186
TrapLong
long TrapLong(long x, long min, long max)
Definition: Effect.h:534
ID_RADIOBUTTON_KEEPSIGNAL
@ ID_RADIOBUTTON_KEEPSIGNAL
Definition: NoiseRemoval.cpp:602
EffectNoiseRemoval::mNoiseGain
double mNoiseGain
Definition: NoiseRemoval.h:81
ID_SENSITIVITY_TEXT
@ ID_SENSITIVITY_TEXT
Definition: NoiseRemoval.cpp:608
NoiseRemovalDialog::mSensitivityS
wxSlider * mSensitivityS
Definition: NoiseRemoval.h:175
NoiseRemovalDialog::m_pButton_RemoveNoise
wxButton * m_pButton_RemoveNoise
Definition: NoiseRemoval.h:170
NoiseRemovalDialog::mFreqS
wxSlider * mFreqS
Definition: NoiseRemoval.h:177
NoiseRemovalDialog::mTimeT
wxTextCtrl * mTimeT
Definition: NoiseRemoval.h:183
NoiseRemovalDialog::mbLeaveNoise
bool mbLeaveNoise
Definition: NoiseRemoval.h:190
ID_FREQ_SLIDER
@ ID_FREQ_SLIDER
Definition: NoiseRemoval.cpp:606