| 121 | } |
| 122 | |
| 123 | void VelocityStepSequencer::OnTimeEvent(double time) |
| 124 | { |
| 125 | ++mArpIndex; |
| 126 | |
| 127 | if (mArpIndex >= mLength) |
| 128 | mArpIndex = 0; |
| 129 | |
| 130 | if (mResetOnDownbeat && TheTransport->GetQuantized(time, mTransportListenerInfo) == 0) |
| 131 | mArpIndex = 0; |
| 132 | |
| 133 | mCurrentVelocity = mVels[mArpIndex]; |
| 134 | } |
| 135 | |
| 136 | void VelocityStepSequencer::OnMidiNote(MidiNote& note) |
| 137 | { |
nothing calls this directly
no test coverage detected