One device runs the whole loop: the camera reads your pulse, breathing, autonomic state, alertness, attention, and expression, the room chooses the music itself from that live state and from what it has learned moves you most, and the screen becomes the room light — shifting with you in real time. Add group mode and it reads a whole room at once. Everything is logged second by second, so the proof is a timeline anyone can read, not a claim.
Base44 token? Settings is at the bottom of this page — tap to jump there ↓
Tap “Start the loop” below. Your browser will ask for front-camera permission — the video never leaves this device and nothing is recorded or uploaded.
This layer reads state, never thoughts — blink rate, eye closure (PERCLOS), head stillness, face direction, mouth shape. Every reading is calibrated against your own face in this session, and any reading that isn't clear is withheld, never guessed — the card says so instead of showing a number. The room light answers alertness too: if you start fading, it lifts brighter and cooler to hold you.
Face detection has not run yet.
Faces are detected in the frame and followed as they move — the teal boxes on the camera show each tracked face, and each person's pulse is sampled from their own face region (forehead and cheeks), not from a fixed area of the frame. People can shift, lean, or swap places and their reading follows them. Everyone should face the light so their face stays readable. Coherence rises when heart rates converge and move together — it is withheld when fewer than two tracked faces have a clean pulse.
Pick a track, then start. Baseline runs first — 60 quiet seconds, no music.
Ranked by measured effect on this device only — RMSSD change from baseline to music, with heart-rate change alongside. Stored only in this browser's local storage; nothing leaves the device. The adaptive selector reads this ranking first, then the catalog evidence.
All 27 tracks, all 9 albums, playable right here in Phase 2 while the camera keeps measuring. 24 stream from your Base44 media hosting — the same files the Vault plays. The 3 From Darkness Came Dust tracks aren't in Base44, so they play from files bundled with this page. In adaptive mode (default) the room chooses after baseline; switch to Manual above to lock in your pick below.
Selected: Higher Ground · Porter Ave
Tap any track to select it for the next run. Evidence shown is mean RMSSD from real sessions logged in the LGDA app; tracks without sessions yet say so. Streams load only when the session reaches Phase 2 — nothing preloads.
Heart rate and the room light, moving together. This same data is the log you can send yourself at the end.
Your two phases, side by side — read straight from the log below.
Getting the log out: copying works in this app view — paste it into the chat and the whole timeline can be read from there. File downloads and share sheets are blocked by the app view itself, so those buttons did nothing; “Show log on screen” puts the full text right on this page instead, where you can read it, screenshot it, or select and copy it by hand.
This is the complete log, on the page itself — no download involved. Tap “Select all”, then copy, or just read and screenshot it here.
Saves this session into your Base44 app's History, next to your other sessions. Needs the access token from Settings below.
To let this page save sessions into your Base44 History, it needs your Base44 personal access token. Create one free in the Base44 dashboard under Secrets → Personal access tokens, then paste it here. It's stored only in this browser on this device and is only ever sent to app.base44.com — never shown on screen after saving.
Each heartbeat changes the color of your skin by an amount too small to see. This page finds your face and follows it as it moves, samples the forehead/cheek region of the face itself, and combines the red, green, and blue channels so motion and light changes — which move all three channels together — cancel out, leaving the pulse. Beats are picked against a threshold that adapts to the local signal strength, each one counted once, behind a refractory period so one heartbeat can't register as two; a beat the detector misses can be repaired from a faint peak at its predicted position, and those repaired intervals count toward heart rate but never toward RMSSD. Every reading is cross-checked two independent ways: heart rate from the beat intervals against heart rate from the signal's frequency peak. If they disagree, or a phase ends with too few clean seconds or beats, that phase shows a plain warning and withholds its numbers. Readings are never invented, blended, or filled in.
The face-state layer reads what a camera can honestly measure: how often you blink, how long your eyes stay closed (PERCLOS — the share of each minute your eyelids are mostly shut), whether your head is steady and turned toward the camera, and the shape of your mouth. Eye readings are calibrated against your own open-eye level in this session, and the eye method is named on screen — the browser's face-model landmarks when the browser ships one, a face-geometry estimate otherwise. If the eyes aren't clear — face too far, glare, one eye lost — alertness is withheld rather than guessed, and the same rule covers attention and expression. Nothing here reads thoughts, feelings, or consciousness; it reads state, and it says so when it can't.
The room light was already driven by heart rate and RMSSD. Now alertness drives it as well: read as alert and the light follows your physiology alone; start fading and it lifts brighter and cooler underneath the physiology color, the way daylight holds you awake; read as drowsy and the lift is stronger. Every second of the log records the light's hue and brightness next to the alertness reading that shaped it, so the response is auditable like everything else.
This prototype uses the screen you already have as the light. The room-scale version — real lights and speakers in a physical space, driven by the same loop — is phase two, built for partner venues. Same measurement, same log, bigger room.