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

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

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

revision 2202 by persson, Sat Jan 30 10:30:02 2010 UTC revision 2203 by persson, Sat Jul 9 16:44:27 2011 UTC
# Line 43  class EGADSR : public ::LinuxSampler::EG Line 43  class EGADSR : public ::LinuxSampler::EG
43           * @param PreAttack       - Preattack value for the envelope           * @param PreAttack       - Preattack value for the envelope
44           *                          (0 - 1000 permille)           *                          (0 - 1000 permille)
45           * @param AttackTime      - Attack time for the envelope           * @param AttackTime      - Attack time for the envelope
46           * @param HoldAttack      - TODO           * @param HoldTime        - Hold time for the envelope
47           * @param DecayTime       - Decay1 time of the sample amplitude EG           * @param DecayTime       - Decay1 time of the sample amplitude EG
48           * @param SustainLevel    - Sustain level of the sample amplitude EG           * @param SustainLevel    - Sustain level of the sample amplitude EG
49           *                          (0 - 1000 permille)           *                          (0 - 1000 permille)
50           * @param ReleaseTIme     - Release time for the envelope           * @param ReleaseTIme     - Release time for the envelope
51           * @param SampleRate      - sample rate of used audio output driver           * @param SampleRate      - sample rate of used audio output driver
52           */           */
53          void trigger(uint PreAttack, float AttackTime, bool HoldAttack, float DecayTime, uint SustainLevel, float ReleaseTime, uint SampleRate); //FIXME: we should better use 'float' for SampleRate          void trigger(uint PreAttack, float AttackTime, float HoldTime, float DecayTime, uint SustainLevel, float ReleaseTime, uint SampleRate); //FIXME: we should better use 'float' for SampleRate
54    
55          /**          /**
56           * Should be called to inform the EG about an external event and           * Should be called to inform the EG about an external event and
# Line 75  class EGADSR : public ::LinuxSampler::EG Line 75  class EGADSR : public ::LinuxSampler::EG
75          };          };
76    
77          stage_t   Stage;          stage_t   Stage;
78          bool      HoldAttack;          int       HoldSteps;
79          float     DecayTime;          float     DecayTime;
80          float     SustainLevel;          float     SustainLevel;
81          float     ReleaseSlope;          float     ReleaseSlope;

Legend:
Removed from v.2202  
changed lines
  Added in v.2203

  ViewVC Help
Powered by ViewVC