30 |
|
|
31 |
#include "paramedit.h" |
#include "paramedit.h" |
32 |
|
|
|
typedef BoolEntry<gig::DimensionRegion> DimregBoolEntry; |
|
|
|
|
33 |
class DimRegionEdit : public Gtk::Notebook |
class DimRegionEdit : public Gtk::Notebook |
34 |
{ |
{ |
35 |
public: |
public: |
39 |
Gtk::Entry* wSample; |
Gtk::Entry* wSample; |
40 |
|
|
41 |
protected: |
protected: |
42 |
|
gig::DimensionRegion* dimregion; |
43 |
|
|
44 |
Gtk::Tooltips tooltips; |
Gtk::Tooltips tooltips; |
45 |
|
|
46 |
Gtk::Table* table[5]; |
Gtk::Table* table[7]; |
47 |
|
|
48 |
Gtk::Label* lSample; |
Gtk::Label* lSample; |
49 |
|
|
51 |
NumEntryTemp<double> eEG1Attack; |
NumEntryTemp<double> eEG1Attack; |
52 |
NumEntryTemp<double> eEG1Decay1; |
NumEntryTemp<double> eEG1Decay1; |
53 |
NumEntryTemp<double> eEG1Decay2; |
NumEntryTemp<double> eEG1Decay2; |
54 |
DimregBoolEntry eEG1InfiniteSustain; |
BoolEntry eEG1InfiniteSustain; |
55 |
NumEntryPermille eEG1Sustain; |
NumEntryPermille eEG1Sustain; |
56 |
NumEntryTemp<double> eEG1Release; |
NumEntryTemp<double> eEG1Release; |
57 |
DimregBoolEntry eEG1Hold; |
BoolEntry eEG1Hold; |
58 |
ChoiceEntryLeverageCtrl eEG1Controller; |
ChoiceEntryLeverageCtrl eEG1Controller; |
59 |
DimregBoolEntry eEG1ControllerInvert; |
BoolEntry eEG1ControllerInvert; |
60 |
NumEntryTemp<uint8_t> eEG1ControllerAttackInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerAttackInfluence; |
61 |
NumEntryTemp<uint8_t> eEG1ControllerDecayInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerDecayInfluence; |
62 |
NumEntryTemp<uint8_t> eEG1ControllerReleaseInfluence; |
NumEntryTemp<uint8_t> eEG1ControllerReleaseInfluence; |
64 |
NumEntryTemp<uint16_t> eLFO1InternalDepth; |
NumEntryTemp<uint16_t> eLFO1InternalDepth; |
65 |
NumEntryTemp<uint16_t> eLFO1ControlDepth; |
NumEntryTemp<uint16_t> eLFO1ControlDepth; |
66 |
ChoiceEntry<gig::lfo1_ctrl_t> eLFO1Controller; |
ChoiceEntry<gig::lfo1_ctrl_t> eLFO1Controller; |
67 |
DimregBoolEntry eLFO1FlipPhase; |
BoolEntry eLFO1FlipPhase; |
68 |
DimregBoolEntry eLFO1Sync; |
BoolEntry eLFO1Sync; |
69 |
NumEntryPermille eEG2PreAttack; |
NumEntryPermille eEG2PreAttack; |
70 |
NumEntryTemp<double> eEG2Attack; |
NumEntryTemp<double> eEG2Attack; |
71 |
NumEntryTemp<double> eEG2Decay1; |
NumEntryTemp<double> eEG2Decay1; |
72 |
NumEntryTemp<double> eEG2Decay2; |
NumEntryTemp<double> eEG2Decay2; |
73 |
DimregBoolEntry eEG2InfiniteSustain; |
BoolEntry eEG2InfiniteSustain; |
74 |
NumEntryPermille eEG2Sustain; |
NumEntryPermille eEG2Sustain; |
75 |
NumEntryTemp<double> eEG2Release; |
NumEntryTemp<double> eEG2Release; |
76 |
ChoiceEntryLeverageCtrl eEG2Controller; |
ChoiceEntryLeverageCtrl eEG2Controller; |
77 |
DimregBoolEntry eEG2ControllerInvert; |
BoolEntry eEG2ControllerInvert; |
78 |
NumEntryTemp<uint8_t> eEG2ControllerAttackInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerAttackInfluence; |
79 |
NumEntryTemp<uint8_t> eEG2ControllerDecayInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerDecayInfluence; |
80 |
NumEntryTemp<uint8_t> eEG2ControllerReleaseInfluence; |
NumEntryTemp<uint8_t> eEG2ControllerReleaseInfluence; |
82 |
NumEntryTemp<uint16_t> eLFO2InternalDepth; |
NumEntryTemp<uint16_t> eLFO2InternalDepth; |
83 |
NumEntryTemp<uint16_t> eLFO2ControlDepth; |
NumEntryTemp<uint16_t> eLFO2ControlDepth; |
84 |
ChoiceEntry<gig::lfo2_ctrl_t> eLFO2Controller; |
ChoiceEntry<gig::lfo2_ctrl_t> eLFO2Controller; |
85 |
DimregBoolEntry eLFO2FlipPhase; |
BoolEntry eLFO2FlipPhase; |
86 |
DimregBoolEntry eLFO2Sync; |
BoolEntry eLFO2Sync; |
87 |
NumEntryTemp<double> eEG3Attack; |
NumEntryTemp<double> eEG3Attack; |
88 |
NumEntryTemp<int16_t> eEG3Depth; |
NumEntryTemp<int16_t> eEG3Depth; |
89 |
NumEntryTemp<double> eLFO3Frequency; |
NumEntryTemp<double> eLFO3Frequency; |
90 |
NumEntryTemp<int16_t> eLFO3InternalDepth; |
NumEntryTemp<int16_t> eLFO3InternalDepth; |
91 |
NumEntryTemp<int16_t> eLFO3ControlDepth; |
NumEntryTemp<int16_t> eLFO3ControlDepth; |
92 |
ChoiceEntry<gig::lfo3_ctrl_t> eLFO3Controller; |
ChoiceEntry<gig::lfo3_ctrl_t> eLFO3Controller; |
93 |
DimregBoolEntry eLFO3Sync; |
BoolEntry eLFO3Sync; |
94 |
DimregBoolEntry eVCFEnabled; |
BoolEntry eVCFEnabled; |
95 |
ChoiceEntry<gig::vcf_type_t> eVCFType; |
ChoiceEntry<gig::vcf_type_t> eVCFType; |
96 |
ChoiceEntry<gig::vcf_cutoff_ctrl_t> eVCFCutoffController; |
ChoiceEntry<gig::vcf_cutoff_ctrl_t> eVCFCutoffController; |
97 |
DimregBoolEntry eVCFCutoffControllerInvert; |
BoolEntry eVCFCutoffControllerInvert; |
98 |
NumEntryTemp<uint8_t> eVCFCutoff; |
NumEntryTemp<uint8_t> eVCFCutoff; |
99 |
ChoiceEntry<gig::curve_type_t> eVCFVelocityCurve; |
ChoiceEntry<gig::curve_type_t> eVCFVelocityCurve; |
100 |
NumEntryTemp<uint8_t> eVCFVelocityScale; |
NumEntryTemp<uint8_t> eVCFVelocityScale; |
101 |
NumEntryTemp<uint8_t> eVCFVelocityDynamicRange; |
NumEntryTemp<uint8_t> eVCFVelocityDynamicRange; |
102 |
NumEntryTemp<uint8_t> eVCFResonance; |
NumEntryTemp<uint8_t> eVCFResonance; |
103 |
DimregBoolEntry eVCFResonanceDynamic; |
BoolEntry eVCFResonanceDynamic; |
104 |
ChoiceEntry<gig::vcf_res_ctrl_t> eVCFResonanceController; |
ChoiceEntry<gig::vcf_res_ctrl_t> eVCFResonanceController; |
105 |
DimregBoolEntry eVCFKeyboardTracking; |
BoolEntry eVCFKeyboardTracking; |
106 |
NumEntryTemp<uint8_t> eVCFKeyboardTrackingBreakpoint; |
NumEntryTemp<uint8_t> eVCFKeyboardTrackingBreakpoint; |
107 |
ChoiceEntry<gig::curve_type_t> eVelocityResponseCurve; |
ChoiceEntry<gig::curve_type_t> eVelocityResponseCurve; |
108 |
NumEntryTemp<uint8_t> eVelocityResponseDepth; |
NumEntryTemp<uint8_t> eVelocityResponseDepth; |
110 |
ChoiceEntry<gig::curve_type_t> eReleaseVelocityResponseCurve; |
ChoiceEntry<gig::curve_type_t> eReleaseVelocityResponseCurve; |
111 |
NumEntryTemp<uint8_t> eReleaseVelocityResponseDepth; |
NumEntryTemp<uint8_t> eReleaseVelocityResponseDepth; |
112 |
NumEntryTemp<uint8_t> eReleaseTriggerDecay; |
NumEntryTemp<uint8_t> eReleaseTriggerDecay; |
113 |
NumEntryX<uint8_t> eCrossfade_in_start; |
NumEntryTemp<uint8_t> eCrossfade_in_start; |
114 |
NumEntryX<uint8_t> eCrossfade_in_end; |
NumEntryTemp<uint8_t> eCrossfade_in_end; |
115 |
NumEntryX<uint8_t> eCrossfade_out_start; |
NumEntryTemp<uint8_t> eCrossfade_out_start; |
116 |
NumEntryX<uint8_t> eCrossfade_out_end; |
NumEntryTemp<uint8_t> eCrossfade_out_end; |
117 |
DimregBoolEntry ePitchTrack; |
BoolEntry ePitchTrack; |
118 |
ChoiceEntry<gig::dim_bypass_ctrl_t> eDimensionBypass; |
ChoiceEntry<gig::dim_bypass_ctrl_t> eDimensionBypass; |
119 |
NumEntryTemp<int8_t> ePan; |
NumEntryTemp<int8_t> ePan; |
120 |
DimregBoolEntry eSelfMask; |
BoolEntry eSelfMask; |
121 |
ChoiceEntryLeverageCtrl eAttenuationController; |
ChoiceEntryLeverageCtrl eAttenuationController; |
122 |
DimregBoolEntry eInvertAttenuationController; |
BoolEntry eInvertAttenuationController; |
123 |
NumEntryTemp<uint8_t> eAttenuationControllerThreshold; |
NumEntryTemp<uint8_t> eAttenuationControllerThreshold; |
124 |
NumEntryTemp<uint8_t> eChannelOffset; |
NumEntryTemp<uint8_t> eChannelOffset; |
125 |
DimregBoolEntry eSustainDefeat; |
BoolEntry eSustainDefeat; |
126 |
DimregBoolEntry eMSDecode; |
BoolEntry eMSDecode; |
127 |
NumEntryTemp<uint16_t> eSampleStartOffset; |
NumEntryTemp<uint16_t> eSampleStartOffset; |
128 |
NoteEntry eUnityNote; |
NoteEntry eUnityNote; |
129 |
NumEntryX<int16_t> eFineTune; |
NumEntryTemp<int16_t> eFineTune; |
130 |
NumEntryGain eGain; |
NumEntryGain eGain; |
131 |
BoolEntryPlus6 eGainPlus6; |
BoolEntryPlus6 eGainPlus6; |
132 |
NumEntryX<uint32_t> eSampleLoops; |
BoolEntry eSampleLoopEnabled; |
133 |
|
NumEntryTemp<uint32_t> eSampleLoopStart; |
134 |
|
NumEntryTemp<uint32_t> eSampleLoopLength; |
135 |
|
ChoiceEntry<uint32_t> eSampleLoopType; |
136 |
|
BoolEntry eSampleLoopInfinite; |
137 |
|
NumEntryTemp<uint32_t> eSampleLoopPlayCount; |
138 |
|
|
139 |
int rowno; |
int rowno; |
140 |
int pageno; |
int pageno; |
141 |
int firstRowInBlock; |
int firstRowInBlock; |
142 |
|
|
143 |
|
|
144 |
|
void addProp(BoolEntry& boolentry); |
145 |
void addProp(LabelWidget& labelwidget); |
void addProp(LabelWidget& labelwidget); |
146 |
void addString(char* labelText, Gtk::Label*& label, |
void addString(char* labelText, Gtk::Label*& label, |
147 |
Gtk::Entry*& widget); |
Gtk::Entry*& widget); |
163 |
void crossfade2_changed(); |
void crossfade2_changed(); |
164 |
void crossfade3_changed(); |
void crossfade3_changed(); |
165 |
void crossfade4_changed(); |
void crossfade4_changed(); |
166 |
|
void loop_enabled_toggled(); |
167 |
|
void loop_infinite_toggled(); |
168 |
|
|
169 |
|
void updateLoopElements(); |
170 |
}; |
}; |
171 |
|
|
172 |
#endif |
#endif |