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

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

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

revision 2244 by iliev, Thu Aug 18 11:32:33 2011 UTC revision 2264 by iliev, Mon Aug 22 10:00:01 2011 UTC
# Line 68  namespace LinuxSampler { namespace sfz { Line 68  namespace LinuxSampler { namespace sfz {
68              void SetCCs(::sfz::Array<int>& pCC);              void SetCCs(::sfz::Array<int>& pCC);
69              void SetCCs(ArrayList< ::sfz::CC>& cc);              void SetCCs(ArrayList< ::sfz::CC>& cc);
70                            
71              virtual void AddSmoothCC(uint8_t Controller, float Influence, short int Curve, float Smooth);              virtual void AddSmoothCC(uint8_t Controller, float Influence, short int Curve, float Smooth, float Step);
72                            
73              inline int GetCurveCount();              int GetCurveCount();
74              inline ::sfz::Curve* GetCurve(int idx);              ::sfz::Curve* GetCurve(int idx);
75                            
76              double GetSampleRate();              double GetSampleRate();
77      };      };
# Line 95  namespace LinuxSampler { namespace sfz { Line 95  namespace LinuxSampler { namespace sfz {
95              SmoothCCUnit(SfzSignalUnitRack* rack, Listener* l = NULL): CurveCCUnit(rack, l), pSmoothers(NULL) { }              SmoothCCUnit(SfzSignalUnitRack* rack, Listener* l = NULL): CurveCCUnit(rack, l), pSmoothers(NULL) { }
96              virtual ~SmoothCCUnit();              virtual ~SmoothCCUnit();
97                            
98              virtual void AddSmoothCC(uint8_t Controller, float Influence, short int Curve, float Smooth);              virtual void AddSmoothCC(uint8_t Controller, float Influence, short int Curve, float Smooth, float Step);
99              virtual void RemoveAllCCs() { CurveCCUnit::RemoveAllCCs(); pSmoothers->clear(); }              virtual void RemoveAllCCs() { CurveCCUnit::RemoveAllCCs(); pSmoothers->clear(); }
100              virtual void InitCCList(Pool<CC>* pCCPool, Pool<Smoother>* pSmootherPool);              virtual void InitCCList(Pool<CC>* pCCPool, Pool<Smoother>* pSmootherPool);
101                            
# Line 272  namespace LinuxSampler { namespace sfz { Line 272  namespace LinuxSampler { namespace sfz {
272                  SfzSignalUnit::Copy(Unit);                  SfzSignalUnit::Copy(Unit);
273              }              }
274                            
             virtual bool  Active() { return pLfoInfo->freq > 0; }  
275              virtual void  Trigger();              virtual void  Trigger();
276              virtual void  Increment();              virtual void  Increment();
277              virtual float GetLevel() { return Level; }              virtual float GetLevel() { return Level; }
# Line 316  namespace LinuxSampler { namespace sfz { Line 315  namespace LinuxSampler { namespace sfz {
315              LFOv2Unit(SfzSignalUnitRack* rack);              LFOv2Unit(SfzSignalUnitRack* rack);
316                            
317              virtual void Trigger();              virtual void Trigger();
318                virtual bool  Active() { return true; }
319      };      };
320            
321      class AmpLFOUnit: public LFOv1Unit {      class AmpLFOUnit: public LFOv1Unit {
# Line 388  namespace LinuxSampler { namespace sfz { Line 388  namespace LinuxSampler { namespace sfz {
388              // SFZ v2              // SFZ v2
389                            
390              SmoothCCUnit suVolOnCC;              SmoothCCUnit suVolOnCC;
391                SmoothCCUnit suPitchOnCC;
392                SmoothCCUnit suCutoffOnCC;
393                SmoothCCUnit suResOnCC;
394                            
395              FixedArray<EGv2Unit*> EGs;              FixedArray<EGv2Unit*> EGs;
396                            

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

  ViewVC Help
Powered by ViewVC