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 { |
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 |
}; |
}; |
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(); |