Description
Return observed-minus-reference onset and offset gaps and divide the duration difference by positive samplePeriod for durationGapInSamples.
Speech and language research can use periods, samples, utterances, phoneme tokens, transcript labels, and timed observations. Counts and durations give different denominators, while missing or unscorable records need an explicit policy. Arithmetic on these annotations does not itself establish a validated clinical measure.
Return observed-minus-reference onset and offset gaps and divide the duration difference by positive samplePeriod for durationGapInSamples.
When to use this tool
Use Phoneme Window Reference Gap when you need the stated acoustic, annotation, timing, or record-support calculation for supplied research data.
How to use the tool and how it works
- Enter observedStart, observedEnd, referenceStart, referenceEnd, samplePeriod. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read onsetGap, offsetGap, durationGapInSamples. Use the output convention below.
Return observed-minus-reference onset and offset gaps and divide the duration difference by positive samplePeriod for durationGapInSamples. Require both intervals ordered.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| observedStart | Observed Start | Required. Finite number. |
| observedEnd | Observed End | Required. Finite number. |
| referenceStart | Reference Start | Required. Finite number. |
| referenceEnd | Reference End | Required. Finite number. |
| samplePeriod | Sample Period | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| onsetGap | Onset Gap | Required. Finite number. |
| offsetGap | Offset Gap | Required. Finite number. |
| durationGapInSamples | Duration Gap In Samples | Required. Finite number. |
{
"input": {
"observedStart": 1,
"observedEnd": 4,
"referenceStart": 0,
"referenceEnd": 2,
"samplePeriod": 0.5
},
"output": {
"onsetGap": 1,
"offsetGap": 2,
"durationGapInSamples": 2
}
} Limitations and assumptions
- All timing inputs need one unit. Sample gap may be fractional; no snapping, signal alignment, phoneme detection, or clinical interpretation is performed.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- 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 validated acoustic extraction and annotation procedures for the intended research task. A clinical interpretation needs an appropriate assessment method beyond this supplied-data calculation.
References
Similar or alternative tools
- Language Sample Type Ratio Fixed Window
Type/token ratio in one explicitly bounded transcript window.
- Phoneme Boundary Time Gap
Compare supplied annotated phoneme boundaries without speech diagnosis or transcription inference.