338 |
} |
} |
339 |
if (bLFO1Enabled) { |
if (bLFO1Enabled) { |
340 |
pLFO1->trigger(pDimRgn->LFO1Frequency, |
pLFO1->trigger(pDimRgn->LFO1Frequency, |
341 |
start_level_max, |
start_level_min, |
342 |
lfo1_internal_depth, |
lfo1_internal_depth, |
343 |
pDimRgn->LFO1ControlDepth, |
pDimRgn->LFO1ControlDepth, |
344 |
pDimRgn->LFO1FlipPhase, |
pDimRgn->LFO1FlipPhase, |
835 |
if (EG3.active()) finalSynthesisParameters.fFinalPitch *= EG3.render(); |
if (EG3.active()) finalSynthesisParameters.fFinalPitch *= EG3.render(); |
836 |
|
|
837 |
// process low frequency oscillators |
// process low frequency oscillators |
838 |
if (bLFO1Enabled) fFinalVolume *= pLFO1->render(); |
if (bLFO1Enabled) fFinalVolume *= (1.0f - pLFO1->render()); |
839 |
if (bLFO2Enabled) fFinalCutoff *= pLFO2->render(); |
if (bLFO2Enabled) fFinalCutoff *= pLFO2->render(); |
840 |
if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render()); |
if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render()); |
841 |
|
|