Audacity
3.2.0
src
effects
Distortion.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity: A Digital Audio Editor
4
5
Distortion.h
6
7
Steve Daulton
8
9
**********************************************************************/
10
11
#ifndef __AUDACITY_EFFECT_DISTORTION__
12
#define __AUDACITY_EFFECT_DISTORTION__
13
14
#include "
DistortionBase.h
"
15
#include "
StatelessPerTrackEffect.h
"
16
#include "
ShuttleAutomation.h
"
17
18
class
ShuttleGui
;
19
20
class
EffectDistortion
final :
public
DistortionBase
,
public
StatelessEffectUIServices
21
{
22
public
:
23
std::unique_ptr<EffectEditor>
MakeEditor
(
24
ShuttleGui
&
S
,
EffectInstance
& instance,
EffectSettingsAccess
& access,
25
const
EffectOutputs
* pOutputs)
const override
;
26
27
struct
Editor
;
28
29
private
:
30
enum
control
31
{
32
ID_DCBlock
= 10001,
33
ID_Threshold
,
34
ID_NoiseFloor
,
35
ID_Param1
,
36
ID_Param2
,
37
ID_Repeats
,
38
};
39
};
40
41
#endif
DistortionBase.h
ShuttleAutomation.h
StatelessPerTrackEffect.h
S
#define S(N)
Definition:
ToChars.cpp:64
DistortionBase
A WaveShaper distortion effect.
Definition:
DistortionBase.h:66
EffectDistortion
Definition:
Distortion.h:21
EffectDistortion::control
control
Definition:
Distortion.h:31
EffectDistortion::ID_Repeats
@ ID_Repeats
Definition:
Distortion.h:37
EffectDistortion::ID_NoiseFloor
@ ID_NoiseFloor
Definition:
Distortion.h:34
EffectDistortion::ID_Param2
@ ID_Param2
Definition:
Distortion.h:36
EffectDistortion::ID_Threshold
@ ID_Threshold
Definition:
Distortion.h:33
EffectDistortion::ID_Param1
@ ID_Param1
Definition:
Distortion.h:35
EffectDistortion::ID_DCBlock
@ ID_DCBlock
Definition:
Distortion.h:32
EffectDistortion::MakeEditor
std::unique_ptr< EffectEditor > MakeEditor(ShuttleGui &S, EffectInstance &instance, EffectSettingsAccess &access, const EffectOutputs *pOutputs) const override
Called only from PopulateUI, to add controls to effect panel.
Definition:
Distortion.cpp:170
EffectInstance
Performs effect computation.
Definition:
EffectInterface.h:451
EffectOutputs
Hold values to send to effect output meters.
Definition:
EffectInterface.h:130
EffectSettingsAccess
Definition:
EffectInterface.h:153
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition:
ShuttleGui.h:640
StatelessEffectUIServices
Definition:
StatelessPerTrackEffect.h:18
EffectDistortion::Editor
Definition:
Distortion.cpp:62
Generated by
1.9.3