Description
For nonnegative integer hopSamples and positive sampleRateHz return hopSeconds=hopSamples/sampleRateHz.
Voice and airflow research records use sample rates, frame windows, cycle boundaries, event clocks, unit conversions, and laterality labels. A data-support fraction or signed difference has a specific convention and denominator. These calculations operate on supplied records rather than an audio, respiratory, or vestibular examination.
For nonnegative integer hopSamples and positive sampleRateHz return hopSeconds=hopSamples/sampleRateHz.
When to use this tool
Use Voice Sample Hop Duration when you need this sample, frame, cycle, timing, airflow, or laterality component for supplied research records.
How to use the tool and how it works
- Enter hopSamples, sampleRateHz. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read hopSeconds. Use the output convention below.
For nonnegative integer hopSamples and positive sampleRateHz return hopSeconds=hopSamples/sampleRateHz.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| hopSamples | Nonnegative integer samples per hop; zero permitted. | Required. Safe integer; minimum 0. |
| sampleRateHz | Sample Rate Hz | Required. Finite number; strictly above 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| hopSeconds | Hop Seconds | Required. Finite number. |
{
"input": {
"hopSamples": 160,
"sampleRateHz": 16000
},
"output": {
"hopSeconds": 0.01
}
} Limitations and assumptions
- Sample rate is samples per second. A zero hop is allowed here; the tool converts a supplied sample interval without extracting voice frames, estimating sample rate, or assessing voice quality.
- 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 calibrated acquisition and a documented signal-analysis or assessment protocol when a local conversion is insufficient. Verify sample rate, frame boundaries, clock corrections, and record annotations.
References
Similar or alternative tools
- Research Voice Frame Hop
Compute supplied research frame hop and first-to-last start span, excluding unspecified frame duration.
- Voice Frame Support Share
Mark frames complete when their full span lies within the recording, count complete and valid-complete frames, and return share over completeFrames when positive, otherwise zero with defined=false.