335 |
pLFO1->ExtController = 0; // no external controller |
pLFO1->ExtController = 0; // no external controller |
336 |
bLFO1Enabled = false; |
bLFO1Enabled = false; |
337 |
} |
} |
338 |
if (bLFO1Enabled) pLFO1->trigger(pDimRgn->LFO1Frequency, |
if (bLFO1Enabled) { |
339 |
start_level_max, |
pLFO1->trigger(pDimRgn->LFO1Frequency, |
340 |
lfo1_internal_depth, |
start_level_max, |
341 |
pDimRgn->LFO1ControlDepth, |
lfo1_internal_depth, |
342 |
pDimRgn->LFO1FlipPhase, |
pDimRgn->LFO1ControlDepth, |
343 |
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
pDimRgn->LFO1FlipPhase, |
344 |
|
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
345 |
|
pLFO1->update(pLFO1->ExtController ? pEngineChannel->ControllerTable[pLFO1->ExtController] : 0); |
346 |
|
} |
347 |
} |
} |
348 |
|
|
349 |
|
|
381 |
pLFO2->ExtController = 0; // no external controller |
pLFO2->ExtController = 0; // no external controller |
382 |
bLFO2Enabled = false; |
bLFO2Enabled = false; |
383 |
} |
} |
384 |
if (bLFO2Enabled) pLFO2->trigger(pDimRgn->LFO2Frequency, |
if (bLFO2Enabled) { |
385 |
start_level_max, |
pLFO2->trigger(pDimRgn->LFO2Frequency, |
386 |
lfo2_internal_depth, |
start_level_max, |
387 |
pDimRgn->LFO2ControlDepth, |
lfo2_internal_depth, |
388 |
pDimRgn->LFO2FlipPhase, |
pDimRgn->LFO2ControlDepth, |
389 |
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
pDimRgn->LFO2FlipPhase, |
390 |
|
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
391 |
|
pLFO2->update(pLFO2->ExtController ? pEngineChannel->ControllerTable[pLFO2->ExtController] : 0); |
392 |
|
} |
393 |
} |
} |
394 |
|
|
395 |
|
|
427 |
pLFO3->ExtController = 0; // no external controller |
pLFO3->ExtController = 0; // no external controller |
428 |
bLFO3Enabled = false; |
bLFO3Enabled = false; |
429 |
} |
} |
430 |
if (bLFO3Enabled) pLFO3->trigger(pDimRgn->LFO3Frequency, |
if (bLFO3Enabled) { |
431 |
start_level_mid, |
pLFO3->trigger(pDimRgn->LFO3Frequency, |
432 |
lfo3_internal_depth, |
start_level_mid, |
433 |
pDimRgn->LFO3ControlDepth, |
lfo3_internal_depth, |
434 |
false, |
pDimRgn->LFO3ControlDepth, |
435 |
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
false, |
436 |
|
pEngine->SampleRate / CONFIG_DEFAULT_SUBFRAGMENT_SIZE); |
437 |
|
pLFO3->update(pLFO3->ExtController ? pEngineChannel->ControllerTable[pLFO3->ExtController] : 0); |
438 |
|
} |
439 |
} |
} |
440 |
|
|
441 |
|
|