311 |
|
|
312 |
void AmpLFOUnit::Trigger() { |
void AmpLFOUnit::Trigger() { |
313 |
::sfz::Region* const pRegion = pVoice->pRegion; |
::sfz::Region* const pRegion = pVoice->pRegion; |
314 |
pLfoInfo->delay = pRegion->amplfo_delay; |
pLfoInfo->delay = pRegion->amplfo_delay + GetInfluence(pRegion->amplfo_delay_oncc); |
315 |
pLfoInfo->freq = pRegion->amplfo_freq; |
pLfoInfo->freq = pRegion->amplfo_freq; |
316 |
pLfoInfo->fade = pRegion->amplfo_fade; |
pLfoInfo->fade = pRegion->amplfo_fade + GetInfluence(pRegion->amplfo_fade_oncc); |
317 |
pLfoInfo->volume = pRegion->amplfo_depth; |
pLfoInfo->volume = pRegion->amplfo_depth; |
318 |
|
|
319 |
LFOv1Unit::Trigger(); |
LFOv1Unit::Trigger(); |
321 |
|
|
322 |
void PitchLFOUnit::Trigger() { |
void PitchLFOUnit::Trigger() { |
323 |
::sfz::Region* const pRegion = pVoice->pRegion; |
::sfz::Region* const pRegion = pVoice->pRegion; |
324 |
pLfoInfo->delay = pRegion->pitchlfo_delay; |
pLfoInfo->delay = pRegion->pitchlfo_delay + GetInfluence(pRegion->pitchlfo_delay_oncc); |
325 |
pLfoInfo->freq = pRegion->pitchlfo_freq; |
pLfoInfo->freq = pRegion->pitchlfo_freq; |
326 |
pLfoInfo->fade = pRegion->pitchlfo_fade; |
pLfoInfo->fade = pRegion->pitchlfo_fade + GetInfluence(pRegion->pitchlfo_fade_oncc); |
327 |
pLfoInfo->pitch = pRegion->pitchlfo_depth; |
pLfoInfo->pitch = pRegion->pitchlfo_depth; |
328 |
|
|
329 |
LFOv1Unit::Trigger(); |
LFOv1Unit::Trigger(); |
331 |
|
|
332 |
void FilLFOUnit::Trigger() { |
void FilLFOUnit::Trigger() { |
333 |
::sfz::Region* const pRegion = pVoice->pRegion; |
::sfz::Region* const pRegion = pVoice->pRegion; |
334 |
pLfoInfo->delay = pRegion->fillfo_delay; |
pLfoInfo->delay = pRegion->fillfo_delay + GetInfluence(pRegion->fillfo_delay_oncc); |
335 |
pLfoInfo->freq = pRegion->fillfo_freq; |
pLfoInfo->freq = pRegion->fillfo_freq; |
336 |
pLfoInfo->fade = pRegion->fillfo_fade; |
pLfoInfo->fade = pRegion->fillfo_fade + GetInfluence(pRegion->fillfo_fade_oncc); |
337 |
pLfoInfo->cutoff = pRegion->fillfo_depth; |
pLfoInfo->cutoff = pRegion->fillfo_depth; |
338 |
|
|
339 |
LFOv1Unit::Trigger(); |
LFOv1Unit::Trigger(); |