/[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 3188 by schoenebeck, Fri May 19 14:23:12 2017 UTC revision 3193 by schoenebeck, Sat May 20 12:28:57 2017 UTC
# Line 58  namespace LinuxSampler { Line 58  namespace LinuxSampler {
58                  uint8_t DimBits; ///< Used only in conjunction with DimMask: Dimension bits that shall be selected.                  uint8_t DimBits; ///< Used only in conjunction with DimMask: Dimension bits that shall be selected.
59              } Gig;              } Gig;
60          } Format;          } Format;
61            int userPar[4]; ///< Used only for real-time instrument script functions set_event_par() and get_event_par() to store script author's user specific data ($EVENT_PAR_0 to $EVENT_PAR_3).
62      protected:      protected:
63          NoteBase() : hostKey(0), parentNoteID(0), pChildNotes(NULL) {          NoteBase() : hostKey(0), parentNoteID(0), pChildNotes(NULL) {
64              Override.Volume     = 1.f;              Override.Volume     = 1.f;
# Line 77  namespace LinuxSampler { Line 78  namespace LinuxSampler {
78              Override.PitchLFOFreq  = 1.f;              Override.PitchLFOFreq  = 1.f;
79    
80              Format = _Format();              Format = _Format();
81    
82                userPar[0] = 0;
83                userPar[1] = 0;
84                userPar[2] = 0;
85                userPar[3] = 0;
86          }          }
87      };      };
88    
# Line 146  namespace LinuxSampler { Line 152  namespace LinuxSampler {
152              Override.PitchLFODepth = 1.f;              Override.PitchLFODepth = 1.f;
153              Override.PitchLFOFreq  = 1.f;              Override.PitchLFOFreq  = 1.f;
154              Format = _Format();              Format = _Format();
155                userPar[0] = 0;
156                userPar[1] = 0;
157                userPar[2] = 0;
158                userPar[3] = 0;
159              if (pActiveVoices) {              if (pActiveVoices) {
160                  typename RTList<V>::Iterator itVoice = pActiveVoices->first();                  typename RTList<V>::Iterator itVoice = pActiveVoices->first();
161                  typename RTList<V>::Iterator itVoicesEnd = pActiveVoices->end();                  typename RTList<V>::Iterator itVoicesEnd = pActiveVoices->end();

Legend:
Removed from v.3188  
changed lines
  Added in v.3193

  ViewVC Help
Powered by ViewVC