docs(audio): binaural stress-relief candidate pool + local review page

11 CC0 stereo binaural/entrainment candidates (verified on freesound) for
evolving the Music option into a crossfading stress-relief set. Durable record
in docs/binaural-candidate-pool.md; interactive audition gallery at
simulator/static/review_binaural.html (gitignored local-only, like the other
review galleries — streams the CC0 previews, tick-to-keep + copy picks).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
BenStullsBets
2026-07-02 05:47:19 -07:00
parent 9d42ed7fc4
commit 08cc7c6355
3 changed files with 80 additions and 8 deletions
+11 -8
View File
@@ -24,15 +24,18 @@ test("auto-advances one altitude (descending) after the idle interval", async ({
expect(after).toBe((start + 1) % n); // descended exactly one, wraps
});
test("toggling Auto-advance off keeps the altitude parked", async ({ page }) => {
await boot(page, 1000);
await page.evaluate(() => {
const c = document.querySelector("#auto-advance") as HTMLInputElement;
c.checked = false;
c.dispatchEvent(new Event("change", { bubbles: true }));
});
test("Auto-advance off keeps the altitude parked", async ({ page }) => {
// Disable BEFORE launch so the idle timer never arms (deterministic — no race with
// the first interval firing during boot).
await page.addInitScript(() => { (window as any).__hefAutoAdvanceMs = 800; });
await page.goto("/");
await page.waitForFunction(() => (window as any).__hefReady === true, null, { timeout: 45_000 });
await page.evaluate(() => { (document.querySelector("#auto-advance") as HTMLInputElement).checked = false; });
await page.locator("#welcome-launch").click();
await page.waitForSelector("#welcome", { state: "detached", timeout: 10_000 });
const start = await idx(page);
await page.waitForTimeout(2600); // well past two intervals
await page.waitForTimeout(2200); // well past two 800ms intervals
expect(await idx(page)).toBe(start); // never moved
});