520 |
void Voice::Render(uint Samples) { |
void Voice::Render(uint Samples) { |
521 |
|
|
522 |
// Reset the synthesis parameter matrix |
// Reset the synthesis parameter matrix |
523 |
pEngine->ResetSynthesisParameters(Event::destination_vca, this->Volume); |
pEngine->ResetSynthesisParameters(Event::destination_vca, this->Volume * pEngine->GlobalVolume); |
524 |
pEngine->ResetSynthesisParameters(Event::destination_vco, this->PitchBase); |
pEngine->ResetSynthesisParameters(Event::destination_vco, this->PitchBase); |
525 |
#if ENABLE_FILTER |
#if ENABLE_FILTER |
526 |
pEngine->ResetSynthesisParameters(Event::destination_vcfc, VCFCutoffCtrl.fvalue); |
pEngine->ResetSynthesisParameters(Event::destination_vcfc, VCFCutoffCtrl.fvalue); |