293 |
float cutoff; |
float cutoff; |
294 |
int pitch; // -9600 to 9600 cents |
int pitch; // -9600 to 9600 cents |
295 |
float resonance; // 0 to 40 dB |
float resonance; // 0 to 40 dB |
296 |
|
float pan; // -100 to 100 % |
297 |
|
int pan_curve; |
298 |
|
|
299 |
LinuxSampler::ArrayList<CC> amplitude_oncc; |
LinuxSampler::ArrayList<CC> amplitude_oncc; |
300 |
LinuxSampler::ArrayList<CC> volume_oncc; |
LinuxSampler::ArrayList<CC> volume_oncc; |
301 |
LinuxSampler::ArrayList<CC> cutoff_oncc; // -9600 to 9600 cents |
LinuxSampler::ArrayList<CC> cutoff_oncc; // -9600 to 9600 cents |
302 |
LinuxSampler::ArrayList<CC> pitch_oncc; |
LinuxSampler::ArrayList<CC> pitch_oncc; |
303 |
LinuxSampler::ArrayList<CC> resonance_oncc; // 0 to 40 dB |
LinuxSampler::ArrayList<CC> resonance_oncc; // 0 to 40 dB |
304 |
|
LinuxSampler::ArrayList<CC> pan_oncc; // -100 to 100 % |
305 |
|
LinuxSampler::ArrayList<CC> pan_curvecc; // used only as temporary buffer during the parsing - values are then moved to pan_oncc |
306 |
|
|
307 |
EG(); |
EG(); |
308 |
EG(const EG& eg) { Copy(eg); } |
EG(const EG& eg) { Copy(eg); } |
518 |
int pitchlfo_depth; |
int pitchlfo_depth; |
519 |
Array<int> pitchlfo_depthcc; |
Array<int> pitchlfo_depthcc; |
520 |
|
|
521 |
|
LinuxSampler::ArrayList<CC> pitchlfo_delay_oncc; // 0 to 100 seconds |
522 |
|
LinuxSampler::ArrayList<CC> pitchlfo_fade_oncc; // 0 to 100 seconds |
523 |
LinuxSampler::ArrayList<CC> pitchlfo_freqcc; // 0 to 20 Hz |
LinuxSampler::ArrayList<CC> pitchlfo_freqcc; // 0 to 20 Hz |
524 |
|
LinuxSampler::ArrayList<CC> fillfo_delay_oncc; // 0 to 100 seconds |
525 |
|
LinuxSampler::ArrayList<CC> fillfo_fade_oncc; // 0 to 100 seconds |
526 |
LinuxSampler::ArrayList<CC> fillfo_depthcc; // -1200 to 1200 cents |
LinuxSampler::ArrayList<CC> fillfo_depthcc; // -1200 to 1200 cents |
527 |
LinuxSampler::ArrayList<CC> fillfo_freqcc; // 0 to 20 Hz |
LinuxSampler::ArrayList<CC> fillfo_freqcc; // 0 to 20 Hz |
528 |
|
LinuxSampler::ArrayList<CC> amplfo_delay_oncc; // 0 to 100 seconds |
529 |
|
LinuxSampler::ArrayList<CC> amplfo_fade_oncc; // 0 to 100 seconds |
530 |
LinuxSampler::ArrayList<CC> amplfo_depthcc; // -10 to 10 dB |
LinuxSampler::ArrayList<CC> amplfo_depthcc; // -10 to 10 dB |
531 |
LinuxSampler::ArrayList<CC> amplfo_freqcc; // 0 to 20 Hz |
LinuxSampler::ArrayList<CC> amplfo_freqcc; // 0 to 20 Hz |
532 |
|
|
539 |
LinuxSampler::ArrayList<CC> volume_oncc; |
LinuxSampler::ArrayList<CC> volume_oncc; |
540 |
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 |
541 |
LinuxSampler::ArrayList<CC> volume_smoothcc; // used only as temporary buffer during the parsing - values are then moved to volume_oncc |
LinuxSampler::ArrayList<CC> volume_smoothcc; // used only as temporary buffer during the parsing - values are then moved to volume_oncc |
542 |
|
|
543 |
|
LinuxSampler::ArrayList<CC> pan_oncc; // -100 to 100 % |
544 |
|
LinuxSampler::ArrayList<CC> pan_curvecc; // used only as temporary buffer during the parsing - values are then moved to pan_oncc |
545 |
|
LinuxSampler::ArrayList<CC> pan_smoothcc; // used only as temporary buffer during the parsing - values are then moved to pan_oncc |
546 |
}; |
}; |
547 |
|
|
548 |
class Query { |
class Query { |
697 |
LFO& lfo(int x); |
LFO& lfo(int x); |
698 |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
void copyCurves(LinuxSampler::ArrayList<CC>& curves, LinuxSampler::ArrayList<CC>& dest); |
699 |
void copySmoothValues(LinuxSampler::ArrayList<CC>& smooths, LinuxSampler::ArrayList<CC>& dest); |
void copySmoothValues(LinuxSampler::ArrayList<CC>& smooths, LinuxSampler::ArrayList<CC>& dest); |
700 |
|
|
701 |
|
int ToInt(const std::string& s) throw(LinuxSampler::Exception); |
702 |
|
float ToFloat(const std::string& s) throw(LinuxSampler::Exception); |
703 |
|
|
704 |
|
int currentLine; |
705 |
std::string currentDir; |
std::string currentDir; |
706 |
/// Pointer to the Instrument belonging to this file |
/// Pointer to the Instrument belonging to this file |
707 |
Instrument* _instrument; |
Instrument* _instrument; |