/[svn]/linuxsampler/trunk/src/engines/sfz/sfz.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/sfz/sfz.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2263 by iliev, Sat Aug 20 15:54:07 2011 UTC revision 2264 by iliev, Mon Aug 22 10:00:01 2011 UTC
# Line 112  namespace sfz Line 112  namespace sfz
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); }
# Line 128  namespace sfz Line 136  namespace sfz
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    
# Line 485  namespace sfz Line 494  namespace sfz
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;
# Line 699  namespace sfz Line 710  namespace sfz
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);

Legend:
Removed from v.2263  
changed lines
  Added in v.2264

  ViewVC Help
Powered by ViewVC