Description
Return gridOrigin+suppliedGridIndex×gridStep and onset minus that grid time.
Musical timing can be expressed in seconds, pulses, beats and phrase positions. A grid or cycle is an explicit model; calculating its coordinates does not detect onsets, determine a tradition's meter or evaluate a performance.
Return gridOrigin+suppliedGridIndex×gridStep and onset minus that grid time.
When to use this tool
Use Transcription Onset Grid Offset when you need a supplied timing-grid, pulse or phrase calculation.
How to use the tool and how it works
- Enter onset, gridOrigin, gridStep, suppliedGridIndex. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read gridTime, signedOffset. Use the output convention below.
Require positive gridStep. Return gridOrigin+suppliedGridIndex×gridStep and onset minus that grid time.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| onset | Onset | Required. Finite number. |
| gridOrigin | Grid Origin | Required. Finite number. |
| gridStep | Grid Step | Required. Finite number; strictly above 0. |
| suppliedGridIndex | Supplied Grid Index | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| gridTime | Grid Time | Required. Finite number. |
| signedOffset | Signed Offset | Required. Finite number. |
{
"input": {
"onset": 1.1,
"gridOrigin": 0,
"gridStep": 0.25,
"suppliedGridIndex": 4
},
"output": {
"gridTime": 1,
"signedOffset": 0.10000000000000009
}
} Limitations and assumptions
- All coordinates share units; the index is supplied, not chosen as nearest. No audio detection, tempo inference or transcription accuracy is established.
- 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. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Inspect the recording and its relevant musical context for transcription or interpretation. Keep time units, pulse definitions, tempo changes and source annotations explicit.
References
Similar or alternative tools
- Recording Beat Grid Offset
Convert event-minus-origin into beats, round to nearest using Math.round and return event minus that nearest grid point in seconds.
- Rhythmic Pattern Transcription Meter Token Tool
Record explicit rhythmic transcription and meter text without inferring pulse structure or cultural meter equivalence.