89 |
uint8_t Controller; ///< MIDI controller number. |
uint8_t Controller; ///< MIDI controller number. |
90 |
short int Curve; |
short int Curve; |
91 |
float Influence; ///< Controller Value. |
float Influence; ///< Controller Value. |
92 |
|
float Smooth; ///< The speed of parameter change in milliseconds |
93 |
|
|
94 |
CC(uint8_t Controller = 0, float Influence = 0.0f, short int Curve = -1) { |
CC(uint8_t Controller = 0, float Influence = 0.0f, short int Curve = -1, float Smooth = 0) { |
95 |
this->Controller = Controller; |
this->Controller = Controller; |
96 |
this->Influence = Influence; |
this->Influence = Influence; |
97 |
this->Curve = Curve; |
this->Curve = Curve; |
98 |
|
this->Smooth = Smooth; |
99 |
} |
} |
100 |
|
|
101 |
CC(const CC& cc) { Copy(cc); } |
CC(const CC& cc) { Copy(cc); } |
105 |
Controller = cc.Controller; |
Controller = cc.Controller; |
106 |
Influence = cc.Influence; |
Influence = cc.Influence; |
107 |
Curve = cc.Curve; |
Curve = cc.Curve; |
108 |
|
Smooth = cc.Smooth; |
109 |
} |
} |
110 |
}; |
}; |
111 |
|
|
483 |
|
|
484 |
LinuxSampler::ArrayList<CC> volume_oncc; |
LinuxSampler::ArrayList<CC> volume_oncc; |
485 |
LinuxSampler::ArrayList<CC> volume_curvecc; // used only as temporary buffer during the parsing - values are then moved to volume_oncc |
LinuxSampler::ArrayList<CC> volume_curvecc; // used only as temporary buffer during the parsing - values are then moved to volume_oncc |
486 |
|
LinuxSampler::ArrayList<CC> volume_smoothcc; // used only as temporary buffer during the parsing - values are then moved to volume_oncc |
487 |
}; |
}; |
488 |
|
|
489 |
class Query { |
class Query { |
637 |
EGNode& egnode(int x, int y); |
EGNode& egnode(int x, int y); |
638 |
LFO& lfo(int x); |
LFO& lfo(int x); |
639 |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
640 |
|
void copySmoothValues(LinuxSampler::ArrayList<CC>& smooths, LinuxSampler::ArrayList<CC>& dest); |
641 |
|
|
642 |
std::string currentDir; |
std::string currentDir; |
643 |
/// Pointer to the Instrument belonging to this file |
/// Pointer to the Instrument belonging to this file |