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 |
float Cutoff; ///< between 0.0 and 1.0 |
38 |
float Resonance; ///< between 0.0 and 1.0 |
float Resonance; ///< between 0.0 and 1.0 |
39 |
|
float Attack; ///< between 0.0 and 1.0 |
40 |
|
float Decay; ///< between 0.0 and 1.0 |
41 |
|
float Release; ///< between 0.0 and 1.0 |
42 |
} Override; |
} Override; |
43 |
/// Sampler format specific informations and variables. |
/// Sampler format specific informations and variables. |
44 |
union _Format { |
union _Format { |
56 |
Override.PanSources = 0; |
Override.PanSources = 0; |
57 |
Override.Cutoff = 1.f; |
Override.Cutoff = 1.f; |
58 |
Override.Resonance = 1.f; |
Override.Resonance = 1.f; |
59 |
|
Override.Attack = 1.f; |
60 |
|
Override.Decay = 1.f; |
61 |
|
Override.Release = 1.f; |
62 |
Format = _Format(); |
Format = _Format(); |
63 |
} |
} |
64 |
}; |
}; |
115 |
Override.PanSources = 0; |
Override.PanSources = 0; |
116 |
Override.Cutoff = 1.f; |
Override.Cutoff = 1.f; |
117 |
Override.Resonance = 1.f; |
Override.Resonance = 1.f; |
118 |
|
Override.Attack = 1.f; |
119 |
|
Override.Decay = 1.f; |
120 |
|
Override.Release = 1.f; |
121 |
Format = _Format(); |
Format = _Format(); |
122 |
if (pActiveVoices) { |
if (pActiveVoices) { |
123 |
typename RTList<V>::Iterator itVoice = pActiveVoices->first(); |
typename RTList<V>::Iterator itVoice = pActiveVoices->first(); |