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

Method GetNumSteps

Source/StepSequencer.cpp:655–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653}
654
655int StepSequencer::GetNumSteps(NoteInterval interval, int numMeasures) const
656{
657 return TheTransport->CountInStandardMeasure(interval) * TheTransport->GetTimeSigTop() / TheTransport->GetTimeSigBottom() * numMeasures;
658}
659
660int StepSequencer::GetStepNum(double time)
661{

Callers

nothing calls this directly

Calls 3

GetTimeSigTopMethod · 0.80
GetTimeSigBottomMethod · 0.80

Tested by

no test coverage detected