1 /*
2  * Copyright (C) 2002 - David W. Durham
3  *
4  * This file is part of ReZound, an audio editing application.
5  *
6  * ReZound is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published
8  * by the Free Software Foundation; either version 2 of the License,
9  * or (at your option) any later version.
10  *
11  * ReZound is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
19  */
20 
21 #ifndef __RemasterActionDialogs_H__
22 #define __RemasterActionDialogs_H__
23 
24 #include "../../config/common.h"
25 #include "fox_compat.h"
26 
27 #include "CActionParamDialog.h"
28 
29 
30 // --- balance ------------------------
31 
32 class CSimpleBalanceActionDialog : public CActionParamDialog
33 {
34 public:
35 	CSimpleBalanceActionDialog(FXWindow *mainWindow);
~CSimpleBalanceActionDialog()36 	virtual ~CSimpleBalanceActionDialog(){}
37 
38 	bool show(CActionSound *actionSound,CActionParameters *actionParameters);
39 };
40 
41 class CCurvedBalanceActionDialog : public CActionParamDialog
42 {
43 public:
44 	CCurvedBalanceActionDialog(FXWindow *mainWindow);
~CCurvedBalanceActionDialog()45 	virtual ~CCurvedBalanceActionDialog(){}
46 
47 	bool show(CActionSound *actionSound,CActionParameters *actionParameters);
48 };
49 
50 
51 
52 // --- monoize ------------------------
53 
54 class CMonoizeActionDialog : public CActionParamDialog
55 {
56 public:
57 	CMonoizeActionDialog(FXWindow *mainWindow);
~CMonoizeActionDialog()58 	virtual ~CMonoizeActionDialog(){}
59 
60 	bool show(CActionSound *actionSound,CActionParameters *actionParameters);
61 };
62 
63 
64 
65 // --- noise gate ------------------------
66 
67 class CNoiseGateDialog : public CActionParamDialog
68 {
69 public:
70 	CNoiseGateDialog(FXWindow *mainWindow);
~CNoiseGateDialog()71 	virtual ~CNoiseGateDialog(){}
72 
73 	const string getExplanation() const;
74 };
75 
76 
77 
78 // --- compressor ------------------------
79 
80 class CCompressorDialog : public CActionParamDialog
81 {
82 public:
83 	CCompressorDialog(FXWindow *mainWindow);
~CCompressorDialog()84 	virtual ~CCompressorDialog(){}
85 
86 protected:
87 	const string getExplanation() const;
88 };
89 
90 
91 
92 // --- normalize -------------------------
93 
94 class CNormalizeDialog : public CActionParamDialog
95 {
96 public:
97 	CNormalizeDialog(FXWindow *mainWindow);
~CNormalizeDialog()98 	virtual ~CNormalizeDialog(){}
99 };
100 
101 
102 
103 // --- adaptive normalize ----------------
104 
105 class CAdaptiveNormalizeDialog : public CActionParamDialog
106 {
107 public:
108 	CAdaptiveNormalizeDialog(FXWindow *mainWindow);
~CAdaptiveNormalizeDialog()109 	virtual ~CAdaptiveNormalizeDialog(){}
110 
111 protected:
112 	const string getExplanation() const;
113 };
114 
115 
116 
117 // --- mark quiet areas ------------------
118 
119 class CMarkQuietAreasDialog : public CActionParamDialog
120 {
121 public:
122 	CMarkQuietAreasDialog(FXWindow *mainWindow);
~CMarkQuietAreasDialog()123 	virtual ~CMarkQuietAreasDialog(){}
124 };
125 
126 
127 
128 // --- shorten quiet areas ------------------
129 
130 class CShortenQuietAreasDialog : public CActionParamDialog
131 {
132 public:
133 	CShortenQuietAreasDialog(FXWindow *mainWindow);
~CShortenQuietAreasDialog()134 	virtual ~CShortenQuietAreasDialog(){}
135 };
136 
137 
138 
139 // --- resample --------------------------
140 
141 class CResampleDialog : public CActionParamDialog
142 {
143 public:
144 	CResampleDialog(FXWindow *mainWindow);
~CResampleDialog()145 	virtual ~CResampleDialog(){}
146 };
147 
148 
149 
150 // --- change pitch ----------------------
151 
152 class CChangePitchDialog : public CActionParamDialog
153 {
154 public:
155 	CChangePitchDialog(FXWindow *mainWindow);
~CChangePitchDialog()156 	virtual ~CChangePitchDialog(){}
157 };
158 
159 
160 
161 // --- change tempo ----------------------
162 
163 class CChangeTempoDialog : public CActionParamDialog
164 {
165 public:
166 	CChangeTempoDialog(FXWindow *mainWindow);
~CChangeTempoDialog()167 	virtual ~CChangeTempoDialog(){}
168 };
169 
170 
171 
172 #endif
173