speech_metrics
Analyzes speech audio to measure pace, pauses, filler words, and pitch/volume variation, revealing delivery patterns and areas for improvement.
Instructions
Measures pace, pauses, filler words and pitch/volume variation of a speech.
Args:
audio: audio path or a name returned by record_audio.
language: language of the speech ("en" or "es"; filler lists exist for both).
pause_threshold_s: minimum silence between words to count as a long pause.
Returns:
- `pace`: words, speaking_time_s, words_per_minute, wpm_excluding_long_pauses.
- `pauses`: count, total_s, max_s, per_minute and items [{t, dur, after: previous word}].
- `fillers`: total, per_minute, by_type and occurrences [{t, text}]. Ambiguous words
("like", "so") only count when isolated by a comma or a pause.
- `pitch`: median_f0_hz, std_semitones, range_p10_p90_semitones, monotone (std < 2 st) and
monotone_stretches [{t, end}] over 8 s windows.
- `volume`: mean_dbfs, std_between_words_db, range_p10_p90_db, low_variation (std < 3 dB).
- `segments` of the transcript [{t, end, text}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | ||
| language | Yes | ||
| pause_threshold_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |