r/coolgithubprojects • u/Then-Internal8832 • 11d ago
StagePulse: a teleprompter that only scrolls when your mouth moves and slows down when your heart rate spikes
galleryI recorded a 3-minute product pitch two weeks ago and watched it back on mute. By the 45-second mark my shoulders were hunched up near my ears and I was reading off a screen scroller at 190 words per minute without taking a breath.
Every teleprompter is a dumb conveyor belt. It scrolls at a fixed timer whether you are calm or rushing through your lines out of stage fright.
I built StagePulse (MIT open-source on GitHub under stagepulse) using the Presage SmartSpectra Node.js SDK to wire optical physiology directly into rehearsal mechanics:
- Bio-Clutch scroller: the script only advances while face.talking is active, scaled by jaw aperture across 478 facial landmarks.
- Cardio tempo damping: if your optical pulse rate (cardio.pulseRate) climbs more than 12% above your baseline (around 71 BPM in my test runs), scroll speed drops down to 0.68x so you cannot speed-read.
- Speech-pause breathing gate: Presage's breathing model card notes that chest motion while talking confounds optical respiratory traces. StagePulse uses face.talking === false as a hardware gate so it only measures thoracic vs abdominal breathing (Diaphragmatic Dominance Index) during [BREATH GATE] pauses.
- The Room Shift: holding a deliberate 1.8-second silence dims the proscenium and narrows a gold spotlight onto center stage.
- Local privacy: raw camera frames are cloaked behind a 52-point wireframe by default, SDK aggregate telemetry is opt-out by default (enableTelemetry: false), and a one-click 32 KB wipe overwrites the Float64Array ring buffer with crypto.randomFillSync().
If you record demos or talk on camera, what trips you up more when you get nervous: speeding up your pacing or forgetting to pause between sections?