Skip to content

Commit

Permalink
Remaining built-in effects (except Stereo to Mono) in a module...
Browse files Browse the repository at this point in the history
... Delete pluginregistry.cfg before testing this
  • Loading branch information
Paul-Licameli committed Apr 11, 2024
1 parent 75ab61c commit 2facda3
Show file tree
Hide file tree
Showing 98 changed files with 210 additions and 201 deletions.
1 change: 1 addition & 0 deletions libraries/lib-module-manager/ModuleSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ static const std::unordered_set<wxString> &autoEnabledModules()
"mod-vamp",
"mod-vst",
"mod-vst3",
"mod-effect-classes",
};
return modules;
}
Expand Down
1 change: 1 addition & 0 deletions modules/effects/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set( MODULES
mod-vamp
mod-vst
mod-vst3
mod-effect-classes
)

audacity_module_subdirectory("${MODULES}")
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
*//*******************************************************************/


#include "Amplify.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include <math.h>
Expand All @@ -40,7 +39,7 @@
#include "WaveChannelUtilities.h"
#include "WaveTrack.h"
#include "TimeStretching.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"


enum
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef __AUDACITY_EFFECT_AMPLIFY__
#define __AUDACITY_EFFECT_AMPLIFY__

#include "StatefulPerTrackEffect.h"
#include "effects/StatefulPerTrackEffect.h"
#include "ShuttleAutomation.h"
#include <wx/weakref.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*******************************************************************/
#include "AutoDuck.h"
#include "BasicUI.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "EffectOutputTracks.h"
#include "LoadEffects.h"
#include "UserException.h"
Expand All @@ -32,7 +32,7 @@
#include "Prefs.h"
#include "ShuttleGui.h"
#include "Theme.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"

#include "WaveClip.h"
#include "WaveTrack.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef __AUDACITY_EFFECT_AUTODUCK__
#define __AUDACITY_EFFECT_AUTODUCK__

#include "StatefulEffect.h"
#include "effects/StatefulEffect.h"
#include "ShuttleAutomation.h"
#include <float.h> // for DBL_MAX
#include "wxPanelWrapper.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*//*******************************************************************/
#include "BassTreble.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include <math.h>
Expand All @@ -28,7 +28,7 @@
#include "Prefs.h"
#include "ShuttleGui.h"
#include "WaveTrack.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"

const EffectParameterMethods& EffectBassTreble::Parameters() const
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef __AUDACITY_EFFECT_BASS_TREBLE__
#define __AUDACITY_EFFECT_BASS_TREBLE__

#include "StatelessPerTrackEffect.h"
#include "effects/StatelessPerTrackEffect.h"
#include "ShuttleAutomation.h"

class ShuttleGui;
Expand Down
File renamed without changes.
File renamed without changes.
84 changes: 84 additions & 0 deletions modules/effects/mod-effect-classes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
#[[
Various effects, generators, and analyzers using Audacity's own internal APIs
]]

list( APPEND SOURCES
Amplify.cpp
Amplify.h
AutoDuck.cpp
AutoDuck.h
BassTreble.cpp
BassTreble.h
Biquad.cpp
Biquad.h
ClickRemoval.cpp
ClickRemoval.h
Compressor.cpp
Compressor.h
Distortion.cpp
Distortion.h
DtmfGen.cpp
DtmfGen.h
EBUR128.cpp
EBUR128.h
Echo.cpp
Echo.h
Equalization.cpp
Equalization.h
EqualizationBandSliders.cpp
EqualizationBandSliders.h
EqualizationCurves.cpp
EqualizationCurves.h
EqualizationCurvesDialog.cpp
EqualizationCurvesDialog.h
EqualizationCurvesList.cpp
EqualizationCurvesList.h
EqualizationFilter.cpp
EqualizationFilter.h
EqualizationPanel.cpp
EqualizationPanel.h
EqualizationParameters.cpp
EqualizationParameters.h
EqualizationUI.cpp
EqualizationUI.h
Fade.cpp
Fade.h
FindClipping.cpp
FindClipping.h
Invert.cpp
Invert.h
Loudness.cpp
Loudness.h
ModEffectsMain.cpp
Noise.cpp
Noise.h
NoiseReduction.cpp
NoiseReduction.h
Normalize.cpp
Normalize.h
Paulstretch.cpp
Paulstretch.h
Phaser.cpp
Phaser.h
Repair.cpp
Repair.h
Repeat.cpp
Repeat.h
Reverb.cpp
Reverb.h
Reverb_libSoX.h
Reverse.cpp
Reverse.h
ScienFilter.cpp
ScienFilter.h
Silence.cpp
Silence.h
ToneGen.cpp
ToneGen.h
TruncSilence.cpp
TruncSilence.h
Wahwah.cpp
Wahwah.h
)
audacity_module( mod-effect-classes "${SOURCES}" "Audacity"
"" "" )
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*//*******************************************************************/
#include "ClickRemoval.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "EffectOutputTracks.h"
#include "LoadEffects.h"

Expand All @@ -36,7 +36,7 @@
#include "Prefs.h"
#include "ShuttleGui.h"
#include "AudacityMessageBox.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"

#include "WaveTrack.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#ifndef __AUDACITY_EFFECT_CLICK_REMOVAL__
#define __AUDACITY_EFFECT_CLICK_REMOVAL__

#include "StatefulEffect.h"
#include "effects/StatefulEffect.h"
#include "ShuttleAutomation.h"
#include <wx/weakref.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*//*******************************************************************/
#include "Compressor.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include <math.h>
Expand All @@ -40,10 +40,10 @@
#include "ShuttleGui.h"
#include "Theme.h"
#include "float_cast.h"
#include "../widgets/LinearUpdater.h"
#include "../widgets/Ruler.h"
#include "../widgets/LinearDBFormat.h"
#include "../widgets/LinearUpdater.h"
#include "widgets/LinearUpdater.h"
#include "widgets/Ruler.h"
#include "widgets/LinearDBFormat.h"
#include "widgets/LinearUpdater.h"

#include "WaveTrack.h"
#include "AllThemeResources.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef __AUDACITY_EFFECT_COMPRESSOR__
#define __AUDACITY_EFFECT_COMPRESSOR__

#include "TwoPassSimpleMono.h"
#include "effects/TwoPassSimpleMono.h"
#include "ShuttleAutomation.h"
#include "MemoryX.h"
#include "wxPanelWrapper.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
*//*******************************************************************/


#include "Distortion.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include <cmath>
Expand All @@ -43,7 +42,7 @@

#include "Prefs.h"
#include "ShuttleGui.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"

const EnumValueSymbol EffectDistortion::kTableTypeStrings[nTableTypes] =
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include <queue>

#include "StatelessPerTrackEffect.h"
#include "effects/StatelessPerTrackEffect.h"
#include "ShuttleAutomation.h"

class ShuttleGui;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
*//*******************************************************************/


#include "DtmfGen.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include <wx/slider.h>
Expand All @@ -25,8 +24,8 @@

#include "Prefs.h"
#include "ShuttleGui.h"
#include "../widgets/NumericTextCtrl.h"
#include "../widgets/valnum.h"
#include "widgets/NumericTextCtrl.h"
#include "widgets/valnum.h"


namespace {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#ifndef __AUDACITY_EFFECT_DTMF__
#define __AUDACITY_EFFECT_DTMF__

#include "StatelessPerTrackEffect.h"
#include "effects/StatelessPerTrackEffect.h"
#include "ShuttleAutomation.h"

class wxSlider;
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
*//*******************************************************************/


#include "Echo.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "LoadEffects.h"

#include "ShuttleGui.h"
#include "AudacityMessageBox.h"
#include "../widgets/valnum.h"
#include "widgets/valnum.h"

const EffectParameterMethods& EffectEcho::Parameters() const
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef __AUDACITY_EFFECT_ECHO__
#define __AUDACITY_EFFECT_ECHO__

#include "StatelessPerTrackEffect.h"
#include "effects/StatelessPerTrackEffect.h"
#include "ShuttleAutomation.h"
#include <float.h> // for FLT_MAX

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*//*******************************************************************/
#include "Equalization.h"
#include "EqualizationUI.h"
#include "EffectEditor.h"
#include "effects/EffectEditor.h"
#include "EffectOutputTracks.h"
#include "LoadEffects.h"
#include "ShuttleGui.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <wx/setup.h> // for wxUSE_* macros

#include "StatefulEffect.h"
#include "effects/StatefulEffect.h"
#include "EqualizationUI.h"

class WaveChannel;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
**********************************************************************/
#include "EqualizationCurvesDialog.h"
#include "EffectUIServices.h"
#include "effects/EffectUIServices.h"

#include <wx/listctrl.h>
#include "ShuttleGui.h"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
#include <wx/settings.h>
#include "AColor.h"
#include "Envelope.h"
#include "../EnvelopeEditor.h"
#include "EnvelopeEditor.h"
#include "FFT.h"
#include "Theme.h"
#include "../TrackArtist.h"
#include "TrackArtist.h"
#include "ViewInfo.h"
#include "../widgets/RulerPanel.h"
#include "widgets/RulerPanel.h"
#include "AllThemeResources.h"

//----------------------------------------------------------------------------
Expand Down Expand Up @@ -95,7 +95,7 @@ void EqualizationPanel::OnSize(wxSizeEvent & WXUNUSED(event))
Refresh( false );
}

#include "../TrackPanelDrawingContext.h"
#include "TrackPanelDrawingContext.h"
void EqualizationPanel::OnPaint(wxPaintEvent & WXUNUSED(event))
{
const auto &parameters = mCurvesList.mParameters;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2facda3

Please sign in to comment.