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

Diff of /linuxsampler/trunk/src/engines/common/Note.h

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

revision 3218 by schoenebeck, Thu May 25 16:32:17 2017 UTC revision 3246 by schoenebeck, Sun May 28 22:22:56 2017 UTC
# Line 12  Line 12 
12    
13  #include "../../common/Pool.h"  #include "../../common/Pool.h"
14  #include "Event.h"  #include "Event.h"
15    #include "Fade.h"
16    
17  #define DEFAULT_NOTE_VOLUME_TIME_S  0.013f /* 13ms */  #define DEFAULT_NOTE_VOLUME_TIME_S  0.013f /* 13ms */
18  #define DEFAULT_NOTE_PITCH_TIME_S   0.013f /* 13ms */  #define DEFAULT_NOTE_PITCH_TIME_S   0.013f /* 13ms */
# Line 49  namespace LinuxSampler { Line 50  namespace LinuxSampler {
50              float AmpLFOFreq;   ///< between 0.0 and 1.0              float AmpLFOFreq;   ///< between 0.0 and 1.0
51              float PitchLFODepth; ///< between 0.0 and 1.0              float PitchLFODepth; ///< between 0.0 and 1.0
52              float PitchLFOFreq; ///< between 0.0 and 1.0              float PitchLFOFreq; ///< between 0.0 and 1.0
53                fade_curve_t VolumeCurve;
54                fade_curve_t PitchCurve;
55          } Override;          } Override;
56          /// Sampler format specific informations and variables.          /// Sampler format specific informations and variables.
57          union _Format {          union _Format {
# Line 76  namespace LinuxSampler { Line 79  namespace LinuxSampler {
79              Override.AmpLFOFreq    = 1.f;              Override.AmpLFOFreq    = 1.f;
80              Override.PitchLFODepth = 1.f;              Override.PitchLFODepth = 1.f;
81              Override.PitchLFOFreq  = 1.f;              Override.PitchLFOFreq  = 1.f;
82                Override.VolumeCurve = DEFAULT_FADE_CURVE;
83                Override.PitchCurve  = DEFAULT_FADE_CURVE;
84    
85              Format = _Format();              Format = _Format();
86    
# Line 151  namespace LinuxSampler { Line 156  namespace LinuxSampler {
156              Override.AmpLFOFreq    = 1.f;              Override.AmpLFOFreq    = 1.f;
157              Override.PitchLFODepth = 1.f;              Override.PitchLFODepth = 1.f;
158              Override.PitchLFOFreq  = 1.f;              Override.PitchLFOFreq  = 1.f;
159                Override.VolumeCurve = DEFAULT_FADE_CURVE;
160                Override.PitchCurve  = DEFAULT_FADE_CURVE;
161              Format = _Format();              Format = _Format();
162              userPar[0] = 0;              userPar[0] = 0;
163              userPar[1] = 0;              userPar[1] = 0;

Legend:
Removed from v.3218  
changed lines
  Added in v.3246

  ViewVC Help
Powered by ViewVC