Skip to content

Add a generative ambient score and minimal line controls - #36

Merged
itsskofficial merged 1 commit into
masterfrom
ambient-sound
Oct 24, 2026
Merged

itsskofficial merged 1 commit into
masterfrom
ambient-sound

Conversation

@itsskofficial

Copy link
Copy Markdown
Contributor

Summary

  • Ambient score generated live with the Web Audio API (lib/ambient.js): drone on A, formant choir, desert wind, sparse minor-scale bells and slow brass swells in a long reverb. Harmony moves A, E, C, D across the sections and the drone brightens as you scroll. No audio file and nothing loads until the visitor turns it on.
  • Sound toggle in the navbar (components/home/SoundToggle.jsx): a flat line when off, a travelling sine wave when on. Starts off, remembers the choice, resumes on first interaction for returning visitors, fades out when the tab is hidden, plays through the iPhone silent switch.
  • Phone menu button is two lines that cross into an X, no label or frame.

Verification

  • Measured in the browser: fades in over about 3 s, plays at about −20 dB with peaks well below clipping, follows scroll, fades to zero and suspends when turned off.
  • Phone and desktop navbars checked: 44 px tap targets, no overflow, menu opens and closes.
  • next build passes; the development-only debug hook is not in the production bundle.

🤖 Generated with Claude Code

- New ambient score generated live with the Web Audio API: a drone on A,
  a formant choir, desert wind, sparse bells and slow brass swells in a
  long reverb. Harmony and brightness follow scroll position. No audio
  file, nothing loads until the visitor turns it on.
- Sound toggle in the navbar: a flat line when off that swells into a
  travelling sine wave when on. Starts off, remembers the choice, resumes
  on the first interaction for returning visitors, fades out when the tab
  is hidden.
- The phone menu button is now two lines that cross into an X, with no
  label or frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 19b30c3d-7ed6-4ce6-9d76-8c4739fcbab2
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@itsskofficial
itsskofficial merged commit d11e45d into master Oct 24, 2026
1 check passed
@itsskofficial
itsskofficial deleted the ambient-sound branch October 24, 2026 06:04

This branch was successfully deployed

1 active deployment
preview — 66bed4b7 Deployed Oct 24, 2026 by itsskofficial via deploy #12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant