Skip to content

Main content

Utterance Onset Offset Timecode

Qualify explicit utterance onset and offset markers and their elapsed duration without detecting speech boundaries.

Loading tool…

Description

Label a supplied utterance interval and calculate its duration.

Communication measurements depend on clock alignment, content units and interval boundaries. Pause time divided by word time differs from pause share of the whole interval, and touching time intervals have no positive overlap. Character budgets must state whether they count code points, code units or another measure.

Label a supplied utterance interval and calculate its duration.

When to use this tool

Use Utterance Onset Offset Timecode when you already have utteranceId, onsetSeconds, offsetSeconds and need to label a supplied utterance interval and calculate its duration.

How to use the tool and how it works

  1. Enter utteranceId, onsetSeconds, offsetSeconds. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read durationSeconds, timecodeToken. Use the output convention below.

Require utteranceId nonempty and offset>=onset; return offset-onset and JSON-array text [ID,onset,offset].1

Input fieldMeaning and unitsAccepted input
utteranceIdUtterance IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
onsetSecondsOnset SecondsRequired. Finite number.
offsetSecondsOffset SecondsRequired. Finite number.
Output fieldInterpretationReturned shape
durationSecondsDuration SecondsRequired. Finite number.
timecodeTokenTimecode TokenRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "utteranceId": "U17",
    "onsetSeconds": 12,
    "offsetSeconds": 15
  },
  "output": {
    "durationSeconds": 3,
    "timecodeToken": "[\"U17\",12,15]"
  }
}

Limitations and assumptions

  • Matching clocks and seconds are assumed. No speech, utterance boundary, transcript, speaker or actual timecode is detected or verified.
  • 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 original message, recording, transcript and timing or display specification. Use the complete analysis and audience context for communication outcomes; a local delay, overlap or length calculation does not measure comprehension, effectiveness or intent.

References

  1. Calculation and input contract: communication/utterance-onset-offset-timecode — tool.io

Similar or alternative tools