/[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 2931 by schoenebeck, Sat Jul 9 14:38:33 2016 UTC revision 2935 by schoenebeck, Sun Jul 10 14:24:13 2016 UTC
# Line 34  namespace LinuxSampler { Line 34  namespace LinuxSampler {
34              float Pitch;        ///< as linear frequency ratio (1.0 being neutral)              float Pitch;        ///< as linear frequency ratio (1.0 being neutral)
35              float Pan;          ///< between -1.0 (most left) and +1.0 (most right) and 0.0 being neutral.              float Pan;          ///< between -1.0 (most left) and +1.0 (most right) and 0.0 being neutral.
36              int64_t PanSources; ///< Might be used for calculating an average pan value in differential way: amount of times the Pan value had been changed and shall be calculated relatively upon.              int64_t PanSources; ///< Might be used for calculating an average pan value in differential way: amount of times the Pan value had been changed and shall be calculated relatively upon.
37                float Cutoff;       ///< between 0.0 and 1.0
38                float Resonance;    ///< between 0.0 and 1.0
39          } Override;          } Override;
40          /// Sampler format specific informations and variables.          /// Sampler format specific informations and variables.
41          union _Format {          union _Format {
# Line 49  namespace LinuxSampler { Line 51  namespace LinuxSampler {
51              Override.Pitch      = 1.f;              Override.Pitch      = 1.f;
52              Override.Pan        = 0.f;              Override.Pan        = 0.f;
53              Override.PanSources = 0;              Override.PanSources = 0;
54                Override.Cutoff     = 1.f;
55                Override.Resonance  = 1.f;
56              Format = _Format();              Format = _Format();
57          }          }
58      };      };
# Line 87  namespace LinuxSampler { Line 91  namespace LinuxSampler {
91              Override.Pitch      = 1.f;              Override.Pitch      = 1.f;
92              Override.Pan        = 0.f;              Override.Pan        = 0.f;
93              Override.PanSources = 0;              Override.PanSources = 0;
94                Override.Cutoff     = 1.f;
95                Override.Resonance  = 1.f;
96              Format = _Format();              Format = _Format();
97              if (pActiveVoices) {              if (pActiveVoices) {
98                  typename RTList<V>::Iterator itVoice = pActiveVoices->first();                  typename RTList<V>::Iterator itVoice = pActiveVoices->first();

Legend:
Removed from v.2931  
changed lines
  Added in v.2935

  ViewVC Help
Powered by ViewVC