Visible Speech

Phase 1 — the face is being read. Camera on, microphone still off. This page is the instrument the later phases are judged on.

MouthSample

Face landmarks and blendshapes, ~30 times a second, into the ring buffer above. Everything is divided by the inter-ocular distance, so leaning toward the camera should move nothing. Marks on the aperture bar are the spec's acceptance thresholds: under 0.1 at rest, over 0.7 on an open "ah". Width wants a few seconds of talking before it means anything — it calibrates against the range your own face actually covers.

idle

Session recorder

Records every MouthSample the landmarker produces, plus the derived intermediates the thresholds are tuned against. Mark segments while you record — a labelled recording is a fixture, and Phases 5 and 6 will want fixtures rather than another afternoon in front of the camera.

Every recording is sent to R2 when you press stop. Download is there for when the upload fails, not as the normal path. Nothing is kept in browser storage.

camera off

marks 0

    sessions — this browser

      RingBuffer.sampleAt

      The acceptance ramp from the spec: 100 samples at 10 ms spacing, value = i. Marks are stored samples; the line is sampleAt swept continuously across a range wider than the data, so the flat shoulders are the clamp — queries outside the retained window return the nearest end rather than extrapolating a value that was never observed.

      Timeline

      Every event is pushed with the time it was noticed and how far behind reality its detector runs. The timeline subtracts that latency to recover the time it actually happened, then holds everything back by LAG. Fire the burst and watch the fast detector lose the race it should never have been in.

      pending 0

        released — in spoken order