Skip to content

Speak Up – impromptu speaking trainer

Speak Up trains impromptu speaking: the app rolls a topic, gives five minutes for notes and then records a one-minute speech with camera and microphone. Afterwards it rates content and delivery automatically – transcript, pace, filler words, pauses, voice, eye contact, structure and key message – and shows progress across all rounds.

Data sheet

Identification no.JS-2026-07
Period10/2026
RoleIdea, requirements and product decisions; code written with AI assistance
ToolsReact · TypeScript · Vite · Whisper (transformers.js) · MediaPipe · Web Audio API · MediaRecorder · IndexedDB · Llama 3.3 (Groq) · Vitest · Playwright
Key resultTopic → 5 min preparation → 1 min speech on camera → feedback on content and delivery; the video never leaves the device
StatusWeb app, German and English
Legal owner
redacted
Identification no.
JS-2026-07
Title
Speak Up – impromptu speaking trainer
Document type
Test report
Date of issue
30/10/2026
Created by
redacted
Rev. · Sheet
G · 8/8
Language
ENDE
ISO 5456-2

1Result

Zone B

Live demo

2Problem and motivation

Zone C

Speaking spontaneously and with structure is needed in job interviews, meetings and pitches – and it can only be learned by practising. Practising alone, though, lacks feedback: how fast do I speak, how often do I say “um”, do I look into the camera, does the speech have a clear thread? The goal was a tool that gives exactly this feedback after every round, free of charge and without the recording reaching anyone else's server.

3Set-up

Zone D
  1. 01Topic: curated list + featured Wikipedia articles
  2. 02Preparation: countdown, notes as cheat sheet
  3. 03Recording: camera, microphone, live measurements
  4. 04Analysis in the browser: Whisper, pauses, pitch, eye contact
  5. 05Rating: rules + open language model

The rating is a chain of small modules that can each be tested on their own, run in the right order by a scheduler: whatever does not depend on each other runs in parallel; if a module fails (no microphone, no face in view, no AI provider), the others still deliver feedback. Everything that can be measured locally is measured locally – the speech recogniser Whisper and the face tracker MediaPipe run directly in the browser. Only for the content rating do topic, notes, transcript and metrics go, after consent, to a free open language model (Llama 3.3 via Groq); the access key stays on the server.

4Verification

Zone E

Testing happened on two levels: 67 automated unit tests for the measurement logic – for example whether pitch detection hits a 220 Hz tone within ±2 Hz, or whether filler words are recognised in German and English – and 8 browser tests that play through the whole flow with a simulated camera at laptop and phone screen size, including a denied camera, audio-only recording and the case where speech recognition cannot be loaded.

What went wrong

The first version with eye contact passed every unit test, but the browser test of the whole flow got stuck: the countdown stood at “1” and the recording never visibly started. Logs showed that the recording was in fact running – only the interface froze. A timing measurement found the cause: the face tracker on the graphics card compiles its programs on first use and blocks the browser for several seconds, exactly when the recording starts. The fix: run it on the processor, do a warm-up run while the camera starts, and pace detection by its own cost so that it uses at most about a fifth of the computing time.

Face tracking, graphics card vs. processor. Measured in the automated test environment (Chromium with software graphics, 22 Oct 2026); absolute values on real hardware not measured.
MetricGraphics cardProcessor + warm-up
First detection (browser blocked)2381 ms269 ms
Following detections (median)≈ 90 ms≈ 60 ms
Countdown freezes when recording starts (browser test, laptop + phone)2/20/2

5Insight and next iteration

Zone F
  • Unit tests check building blocks, not the experience: the freeze only showed up when a test played through the whole flow – and only a timing measurement revealed the cause.
  • Privacy is an architecture decision: whatever can be measured locally is measured locally; only text goes to the language model, and only after consent.
  • Robust rather than perfect: any building block may fail without breaking the whole feedback – without a microphone there is still eye contact, without the AI provider still metrics and tips.
  • Only measure what can be measured: deliberately no emotion recognition from the face, because emotions cannot be read reliably from facial expressions.

Possible next iteration

Check with real speeches how well the automatic rating agrees with a human's assessment, and tune speech recognition so that it drops filler words less often.

Technical details: Rating pipeline

During the recording: loudness every 100 ms, face tracking (head rotation and gaze direction) and, as a fallback, the browser's live speech recognition.

Afterwards: convert audio to 16 kHz → Whisper transcript with a timestamp per word (in a background thread, 40–150 MB model download on first use) → words per minute and filler words → pauses and pitch → eye contact → rule-based scores and tips → content feedback from the language model.

The scores: five for delivery (pace, fillers, pauses, voice, eye contact) from metrics with fixed target ranges, e.g. 120–160 words per minute; five for content (structure, key message, relevance, examples, language) from the language model following a fixed rubric, returned as validated JSON.

Technical details: Pauses and voice

Pauses: silence of at least 0.7 s between the first and the last spoken word, with a threshold based on the recording's noise floor. Using the transcript, a pause after a sentence end (deliberate) is told apart from one mid-sentence (hesitation).

Voice: fundamental frequency every 40 ms via autocorrelation (75–400 Hz); the spread in semitones shows whether the voice sounds lively or monotone.