112 |
short int Curve; |
short int Curve; |
113 |
float Influence; ///< Controller Value. |
float Influence; ///< Controller Value. |
114 |
float Smooth; ///< The speed of parameter change in milliseconds |
float Smooth; ///< The speed of parameter change in milliseconds |
115 |
|
float Step; |
116 |
|
|
117 |
CC(uint8_t Controller = 0, float Influence = 0.0f, short int Curve = -1, float Smooth = 0) { |
CC ( |
118 |
|
uint8_t Controller = 0, |
119 |
|
float Influence = 0, |
120 |
|
short int Curve = -1, |
121 |
|
float Smooth = 0, |
122 |
|
float Step = 0 |
123 |
|
) { |
124 |
this->Controller = Controller; |
this->Controller = Controller; |
125 |
this->Influence = Influence; |
this->Influence = Influence; |
126 |
this->Curve = Curve; |
this->Curve = Curve; |
127 |
this->Smooth = Smooth; |
this->Smooth = Smooth; |
128 |
|
this->Step = Step; |
129 |
} |
} |
130 |
|
|
131 |
CC(const CC& cc) { Copy(cc); } |
CC(const CC& cc) { Copy(cc); } |
136 |
Influence = cc.Influence; |
Influence = cc.Influence; |
137 |
Curve = cc.Curve; |
Curve = cc.Curve; |
138 |
Smooth = cc.Smooth; |
Smooth = cc.Smooth; |
139 |
|
Step = cc.Step; |
140 |
} |
} |
141 |
}; |
}; |
142 |
|
|
494 |
LinuxSampler::ArrayList<CC> resonance_smoothcc, resonance2_smoothcc; |
LinuxSampler::ArrayList<CC> resonance_smoothcc, resonance2_smoothcc; |
495 |
Array<int> resonance_stepcc; Array<int> resonance2_stepcc; |
Array<int> resonance_stepcc; Array<int> resonance2_stepcc; |
496 |
LinuxSampler::ArrayList<CC> resonance_curvecc, resonance2_curvecc; |
LinuxSampler::ArrayList<CC> resonance_curvecc, resonance2_curvecc; |
497 |
|
LinuxSampler::ArrayList<CC> pitch_oncc, pitch_stepcc; |
498 |
|
LinuxSampler::ArrayList<CC> pitch_smoothcc, pitch_curvecc; |
499 |
int fil_keytrack; int fil2_keytrack; |
int fil_keytrack; int fil2_keytrack; |
500 |
int fil_keycenter; int fil2_keycenter; |
int fil_keycenter; int fil2_keycenter; |
501 |
int fil_veltrack; int fil2_veltrack; |
int fil_veltrack; int fil2_veltrack; |
529 |
float fillfo_delay, fillfo_fade, fillfo_freq, fillfo_depth; |
float fillfo_delay, fillfo_fade, fillfo_freq, fillfo_depth; |
530 |
float pitchlfo_delay, pitchlfo_fade, pitchlfo_freq; |
float pitchlfo_delay, pitchlfo_fade, pitchlfo_freq; |
531 |
int pitchlfo_depth; |
int pitchlfo_depth; |
|
Array<int> pitchlfo_depthcc; |
|
532 |
|
|
533 |
LinuxSampler::ArrayList<CC> pitchlfo_delay_oncc; // 0 to 100 seconds |
LinuxSampler::ArrayList<CC> pitchlfo_delay_oncc; // 0 to 100 seconds |
534 |
LinuxSampler::ArrayList<CC> pitchlfo_fade_oncc; // 0 to 100 seconds |
LinuxSampler::ArrayList<CC> pitchlfo_fade_oncc; // 0 to 100 seconds |
535 |
|
LinuxSampler::ArrayList<CC> pitchlfo_depthcc; // -1200 to 1200 cents |
536 |
LinuxSampler::ArrayList<CC> pitchlfo_freqcc; // 0 to 20 Hz |
LinuxSampler::ArrayList<CC> pitchlfo_freqcc; // 0 to 20 Hz |
537 |
LinuxSampler::ArrayList<CC> fillfo_delay_oncc; // 0 to 100 seconds |
LinuxSampler::ArrayList<CC> fillfo_delay_oncc; // 0 to 100 seconds |
538 |
LinuxSampler::ArrayList<CC> fillfo_fade_oncc; // 0 to 100 seconds |
LinuxSampler::ArrayList<CC> fillfo_fade_oncc; // 0 to 100 seconds |
710 |
LFO& lfo(int x); |
LFO& lfo(int x); |
711 |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
712 |
void copySmoothValues(LinuxSampler::ArrayList<CC>& smooths, LinuxSampler::ArrayList<CC>& dest); |
void copySmoothValues(LinuxSampler::ArrayList<CC>& smooths, LinuxSampler::ArrayList<CC>& dest); |
713 |
|
void copyStepValues(LinuxSampler::ArrayList<CC>& steps, LinuxSampler::ArrayList<CC>& dest); |
714 |
|
|
715 |
int ToInt(const std::string& s) throw(LinuxSampler::Exception); |
int ToInt(const std::string& s) throw(LinuxSampler::Exception); |
716 |
float ToFloat(const std::string& s) throw(LinuxSampler::Exception); |
float ToFloat(const std::string& s) throw(LinuxSampler::Exception); |