shiftAt method

int shiftAt({
  1. required int measureIndex,
  2. required double onset,
})

Displacement in octaves in force at that point (0 outside every span).

Sign convention is identical to Clef.octaveShift and to OctaveSpanTracker.octaveShift: 8va is +1 and prints 7 half-space positions LOWER.

Implementation

int shiftAt({required int measureIndex, required double onset}) =>
    markAt(measureIndex: measureIndex, onset: onset)?.octaveShift ?? 0;