| 1114 | } |
| 1115 | |
| 1116 | void StepSequencerRow::PlayStep(double time, int step) |
| 1117 | { |
| 1118 | float val = mGrid->GetVal(step, mRow); |
| 1119 | if (val > 0 && mSeq->IsMetaStepActive(time, step, mRow)) |
| 1120 | { |
| 1121 | mSeq->PlayStepNote(time, mRowPitch, val * val); |
| 1122 | mPlayedSteps[mPlayedStepsRoundRobin].step = step; |
| 1123 | mPlayedSteps[mPlayedStepsRoundRobin].time = time; |
| 1124 | mPlayedStepsRoundRobin = (mPlayedStepsRoundRobin + 1) % mPlayedSteps.size(); |
| 1125 | } |
| 1126 | } |
| 1127 | |
| 1128 | void StepSequencerRow::SetOffset(float offset) |
| 1129 | { |
no test coverage detected