488 |
|
|
489 |
// process low frequency oscillators |
// process low frequency oscillators |
490 |
if (bLFO1Enabled) fFinalVolume *= (1.0f - pLFO1->render()); |
if (bLFO1Enabled) fFinalVolume *= (1.0f - pLFO1->render()); |
491 |
if (bLFO2Enabled) fFinalCutoff *= pLFO2->render(); |
if (bLFO2Enabled) fFinalCutoff *= (1.0f - pLFO2->render()); |
492 |
if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render()); |
if (bLFO3Enabled) finalSynthesisParameters.fFinalPitch *= RTMath::CentsToFreqRatio(pLFO3->render()); |
493 |
} else { |
} else { |
494 |
// if the voice was killed in this subfragment, enter fade out stage |
// if the voice was killed in this subfragment, enter fade out stage |