Inspiration

Every one of us has rehearsed an important pitch the same way: alone, to a wall, or to a friend who said "yeah, it was great." Then the real room happens. Someone frowns at a claim you didn't back up, someone asks the one question you were dreading, and you discover your pacing falls apart under pressure.

Practising alone gives you no reaction, no hard questions and no honest feedback. Coaching fixes all three, but it's expensive and you can't book a coach at 1 a.m. the night before a final. We wanted a practice room that talks back: a panel that listens, reacts while you speak, asks grounded questions out loud, and then tells you honestly how you came across.

What it does

Pitch Perfect puts you in front of an AI panel.

  1. Set up. Upload your slides as a PDF and choose a panel: sceptical investors, friendly peers, an interview panel, or your own custom personas. Optionally paste context such as judging criteria or a job description.
  2. Pitch. Every panelist is a live avatar with its own face and voice. While you speak they idle, listen and react.
  3. Q&A. The panel asks questions out loud, one at a time, grounded in what you actually said and what your slides show. If your answer is vague, they follow up. In Interactive mode they can even interrupt when you ramble or make an unsupported claim.
  4. Report. You get an overall score with its components, your best 20 seconds, one to three priorities, delivery over time, content feedback per rubric dimension, feedback on each answer, and the full recording with clickable markers.
  5. See yourself do it better. We take your weakest passage, rewrite it, and play it back in your own voice, on your own face. Then you can try that answer again.

How we built it

Stack: React + Vite + TypeScript in the browser, Node + Express on the server.

Voice, vision and one event stream

Everything the app observes becomes one timestamped event stream (filler_burst, long_pause, fast_pace, eye_contact_lost, claim_without_evidence, slide_changed, …). That stream drives both the panel's live reactions and the final report.

  • ElevenLabs Scribe gives us a realtime transcript during the session and an accurate word-timestamped transcript afterwards.
  • MediaPipe face, hand and pose landmarks run entirely in the browser: your video is never uploaded for analysis.
  • Web Audio measures loudness and pitch for tone of voice.
  • PDF.js turns the deck into slide images plus per-slide text so questions can reference your slides.

The live panel

Every panelist is a live Anam avatar, one session per agent, opened in parallel during the countdown. We switched off Anam's own LLM so our orchestrator owns the brain: every line goes through a single speakAs() function, is captioned as it's spoken, and its latency is logged.

In Interactive mode a floor manager ticks every 300 ms and decides who, if anyone, should speak. It encodes rules a real panel follows implicitly: one voice at a time, nobody speaks within 2 s of another agent, at most one interruption every 45 s, and nobody talks over an unanswered question. A polite agent waits for a pause. Mid-pitch, it only takes the floor when

$$ \text{silence} > 1.2 \text{ s} \quad \text{and} \quad P(\text{end of thought}) > 0.7 $$

(once you invite questions, 0.8 s of silence is enough). An interrupter instead cuts in when your monologue runs past its patience, your rambling score passes 0.7, or you've just made an unsupported claim. Lines are drafted in the background by Claude Haiku so they can mirror your latest words without lagging behind them.

Measuring delivery honestly

Eye contact uses real gaze, not just head direction. We estimate the horizontal eye-in-head angle from where the iris sits between the eye corners, averaged over both eyes:

$$ \theta = \arcsin\left( 2.5 \cdot \frac{d}{w} \right) $$

where d is the iris offset from the centre of the eye and w is the eye width. The factor 2.5 is roughly eye width divided by eyeball radius (about 30 mm / 12 mm), and the argument is clamped to ±0.95. Adding this to the head angle, you're "on target" when your gaze is within ±10° horizontally and ±12° vertically of your calibration, with your head turned no more than 35°. If s is the share of frames on target while you're speaking or being addressed, the base score is

$$ E = 20 + 80 \cdot \frac{s - 0.5}{0.45} $$

so 50% eye contact scores 20 and 95% scores 100. We then subtract up to 25 points for your longest look-away beyond 2 s, and 10 for darting glances, and clamp the result to 0–100.

Body language has six research-based parts (posture, openness, gestures, self-touch, movement, expression), each weighted and penalised if the camera can't see your hands or shoulders.

Judging content and combining scores

Claude scores the content against a rubric (overall pitch, clarity, depth of thinking, Q&A performance, composure), and each justification points to a moment in the recording. Output is validated with a schema on both server and client.

The overall score is a weighted average over only the categories we could actually measure, so a missing signal never drags you down or props you up:

$$ S = \frac{\sum w_c s_c}{\sum w_c} $$

where both sums run over the measured categories c, with weights content 0.35, tone 0.20, eye contact 0.15, body language 0.15 and timing 0.15. The content score itself is 65% Claude's judgement and 35% a live structure measure.

"Do it better"

Claude picks your weakest passage and rewrites it. With your consent, ElevenLabs makes a temporary clone of your voice (deleted straight after) to speak it, and fal lip-syncs that audio onto a frame of your own recording. fal also generates each panel's room, a portrait per panelist, and image-to-video reaction clips.

Challenges we ran into

Silent sessions scored brilliantly. One 77-second test with no words spoken got Tone 95 and Gestures 90: background voices in the room were counted as the speaker. We built a mouth gate: voice only counts as you when your jaw is visibly moving. Over the last second of jaw-opening readings j, both conditions must hold:

$$ \max(j) - \min(j) > 0.05 \quad \text{and} \quad \max(j) - r > 0.04 $$

where r is your resting jaw level (the 20th percentile over the last 10 s). We tuned these on a real session: real speech reached 0.05–0.24, while silence and the panel's audio stayed under 0.045. With under 10 s of your own speech, we now refuse to score at all rather than invent a number.

  • The panel was transcribed as you. The avatars' voices came back through the speakers into the transcript, so the panel's words inflated your pace. We attribute every phrase: it's dropped if it echoes a recent panel line, starts during one without jaw movement, or the face is visible and the jaw barely moved.
  • The avatar never appeared. React StrictMode mounts components twice in development. Our stop() cleared state only after an await, so the second mount reused a connection that had just been marked stale and closed itself. Fixing it meant synchronous teardown and giving each Anam session its own <video> element.
  • Latency. Getting an avatar's first audio to under a second after it "takes the floor" is hard. We measured roughly 1–1.7 s and hid the rest behind background drafting.
  • Thresholds are guesses until a real face tests them. Many first versions of our gaze and gesture thresholds were too loose or too strict. We stored raw signals (like jaw opening) with every session so we could re-tune and re-score old sessions offline instead of re-recording.
  • Configuration bit us at demo time. At one point reports came back without any Claude feedback. A stale server process was still holding the port and had never loaded the newly added API keys.

Accomplishments that we're proud of

  • A whole panel of live avatars that react, ask, follow up and interrupt like real people, without talking over each other.
  • Delivery metrics that hide themselves when unreliable instead of showing confident nonsense.
  • Hearing your own voice deliver a better version of your weakest line is the moment people remember.
  • Video analysis that stays on your machine.

What we learned

  • Honest metrics are harder than impressive ones. It's easy to produce a number; it's hard to make sure it means something. "Not scored" is a feature.
  • Turn-taking is a product in itself. Most of what makes a panel feel human is when it speaks, not what it says.
  • Keep the brain in one place. Owning every spoken line through one function made captions, latency logging, interruptions and fallbacks straightforward.
  • Save raw data. Being able to re-score old sessions after changing a formula saved us hours of re-recording.
  • Always restart after editing .env.

What's next for Pitch Perfect

  • Calibrating our delivery thresholds against a larger set of real recordings.
  • Progress tracking across attempts, so you can see your scores improve over a week of practice.
  • Shared sessions, so a coach or teammate can watch your recording and add notes.
  • Panels tuned to specific events, such as accelerator interviews, vivas and job interviews.

Built With

Share this project:

Updates

Submission history