85 |
Level += AttackCoeff; |
Level += AttackCoeff; |
86 |
pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level; |
pEngine->pSynthesisParameters[ModulationDestination][iSample++] *= Level; |
87 |
} |
} |
88 |
if (iSample == TotalSamples) { // postpone last transition event for the next audio fragment |
if (iSample == TotalSamples && itTransitionEvent) { // postpone last transition event for the next audio fragment |
89 |
RTList<Event>::Iterator itLastEvent = pEvents->last(); |
RTList<Event>::Iterator itLastEvent = pEvents->last(); |
90 |
if (itLastEvent) ReleasePostponed = (itLastEvent->Type == Event::type_release); |
if (itLastEvent) ReleasePostponed = (itLastEvent->Type == Event::type_release); |
91 |
} |
} |