MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / OnTimeEvent

Method OnTimeEvent

Source/VelocityStepSequencer.cpp:123–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123void 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
136void VelocityStepSequencer::OnMidiNote(MidiNote& note)
137{

Callers

nothing calls this directly

Calls 1

GetQuantizedMethod · 0.80

Tested by

no test coverage detected