Description
Shift a supplied zero-based bar index under an explicit pickup-bar numbering convention.
A production plan combines stage geometry, cue times, movement distances, material dimensions, and explicit scheduling or accounting rules. Signed margins reveal surplus or deficit under the chosen model. Physical clearances, execution variability, and governing requirements can require checks beyond one arithmetic term.
Shift a supplied zero-based bar index under an explicit pickup-bar numbering convention.
When to use this tool
Use Orchestra Pickup Bar Index Shift when you need this specific stage, cue, material, timing, count, or fee term under supplied production assumptions.
How to use the tool and how it works
- Enter barIndex, pickupBars, includePickup. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read displayIndex. Use the output convention below.
For nonnegative integer barIndex and pickupBars return displayIndex=barIndex-pickupBars if includePickup, otherwise barIndex.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| barIndex | Bar Index | Required. Safe integer; minimum 0. |
| pickupBars | Pickup Bars | Required. Safe integer; minimum 0. |
| includePickup | Include Pickup | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| displayIndex | Display Index | Required. Safe integer. |
{
"input": {
"barIndex": 1,
"pickupBars": 1,
"includePickup": true
},
"output": {
"displayIndex": 0
}
} Limitations and assumptions
- The reporting index can be negative. Pickup bars are supplied as whole counted units; no score is parsed and no universal measure-numbering convention is inferred.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Use a complete production schedule or equipment/layout assessment when one margin is insufficient. Check units, timing conventions, tolerances, and physical constraints before combining terms.
References
Similar or alternative tools
- Music Pickup Measure Count Offset
Zero-based beat offset from the start of the pickup; measure 1 is the first full measure.
- Orchestra Part Page Turn Rest Budget
For nonnegative restBeats and requiredSeconds and positive tempo return restSeconds=60*restBeats/tempo and marginSeconds=restSeconds-requiredSeconds.