◆ Lane()
< construction resets table
◆ calcNextIndex()
uint32_t SynthLab::Lane::calcNextIndex |
( |
uint32_t |
baseIndex | ) |
|
|
inlineprotected |
< find next step, wrap if needed (should not need to, but this is backup)
◆ calcPreviousIndex()
uint32_t SynthLab::Lane::calcPreviousIndex |
( |
uint32_t |
baseIndex | ) |
|
|
inlineprotected |
< find next step, wrap if needed (should not need to, but this is backup)
◆ getJumpTableValue()
int32_t SynthLab::Lane::getJumpTableValue |
( |
uint32_t |
index | ) |
|
|
inline |
- Parameters
-
index | get a jump table value (0 to 7) |
◆ getNextStepIndex()
uint32_t SynthLab::Lane::getNextStepIndex |
( |
uint32_t & |
jumpTableIndex, |
|
|
bool |
forwardBackward, |
|
|
bool & |
hitLoopPoint |
|
) |
| |
|
inline |
Find index of next step.
- always need to know the next steap
- checks forward/reverse operation
- supports bi-directionality
- returns true in hitLoopPoint if the next step is an endpoint (start or end)
- Parameters
-
jumpTableIndex | the current index, the next index is calculated |
forwardBackward | true if forward/backward mode enabled |
hitLoopPoint | true if advancing to next step hits a loop point |
◆ loadNextStep()
bool SynthLab::Lane::loadNextStep |
( |
uint32_t |
loopDirectionIndex, |
|
|
bool |
applyProbability = false |
|
) |
| |
|
inline |
Load next step;.
- update probabilities for next step
- detect loop endpoints and re-shuffle if needed
◆ updateLEDMeterWithCurrentStep()
void SynthLab::Lane::updateLEDMeterWithCurrentStep |
( |
| ) |
|
|
inline |
Update the LED meter index with current stap index.
- update the LED on-duration with current step duration
◆ updateLEDMeterWithNextStep()
void SynthLab::Lane::updateLEDMeterWithNextStep |
( |
| ) |
|
|
inline |
Update the LED meter index with next stap index.
- update the LED on-duration with next step duration
◆ currentLEDStep
uint32_t SynthLab::Lane::currentLEDStep = 0 |
next in sequence
index of current LED
The documentation for this class was generated from the following file: