/[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 2230 by iliev, Fri Aug 5 17:59:10 2011 UTC revision 2232 by iliev, Mon Aug 8 13:40:04 2011 UTC
# Line 89  namespace sfz Line 89  namespace sfz
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); }
# Line 103  namespace sfz Line 105  namespace sfz
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    
# Line 480  namespace sfz Line 483  namespace sfz
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 {
# Line 633  namespace sfz Line 637  namespace sfz
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

Legend:
Removed from v.2230  
changed lines
  Added in v.2232

  ViewVC Help
Powered by ViewVC