-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvelope.h
74 lines (43 loc) · 1.55 KB
/
envelope.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#ifndef ENVELOPE_H
#define ENVELOPE_H
#include <QWidget>
#include "SNFX.h"
namespace Ui {
class Envelope;
}
class Envelope : public QWidget
{
Q_OBJECT
public:
explicit Envelope(QWidget *parent = nullptr);
~Envelope();
private slots:
void on_ch1AttackDial_valueChanged(int value);
void on_ch1DecayDial_valueChanged(int value);
void on_ch1SustainDial_valueChanged(int value);
void on_ch1ReleaseDial_valueChanged(int value);
void on_ch1AttackEdit_textChanged(const QString &arg1);
void on_ch1DecayEdit_textChanged(const QString &arg1);
void on_ch1SustainEdit_textChanged(const QString &arg1);
void on_ch1ReleaseEdit_textChanged(const QString &arg1);
void on_ch1Enable_toggled(bool checked);
void on_ch2Enable_toggled(bool checked);
void on_ch2AttackDial_valueChanged(int value);
void on_ch2DecayDial_valueChanged(int value);
void on_ch2SustainDial_valueChanged(int value);
void on_ch2ReleaseDial_valueChanged(int value);
void on_ch3Enable_toggled(bool checked);
void on_ch4Enable_toggled(bool checked);
void on_ch4AttackDial_valueChanged(int value);
void on_ch4DecayDial_valueChanged(int value);
void on_ch4SustainDial_valueChanged(int value);
void on_ch4ReleaseDial_valueChanged(int value);
void on_ch3AttackDial_valueChanged(int value);
void on_ch3DecayDial_valueChanged(int value);
void on_ch3SustainDial_valueChanged(int value);
void on_ch3ReleaseDial_valueChanged(int value);
private:
Ui::Envelope *ui;
SNFX *mainWnd;
};
#endif // ENVELOPE_H