Noises is a small React/Vite player for bundled brown and white noise. It decodes the local audio assets with the Web Audio API and keeps playback looping in the browser.
- Play, pause, resume, and skip between brown and white noise.
- Brown noise uses a searched crossfade loop boundary; white noise uses native audio-buffer looping.
- A countdown timer starts at five minutes, changes in five-minute steps, supports pause/resume, and stops playback when it reaches zero.
- Keyboard controls use the arrow keys, Enter, and Escape.
- A Capacitor Android project is included alongside the web app.
Audio files live in public/noises; the loop player is in
src/audio/createLoopPlayer.js.
Requires pnpm and Node.js 20.19+ or 22.12+ for the web toolchain. Use Node.js 22.12+ for the Capacitor scripts.
pnpm install
pnpm dev # Vite development server
pnpm lint # ESLint
pnpm build # production build
pnpm preview # build and run the Wrangler preview
pnpm deploy # build and deploy with Wrangler
pnpm sync # build and sync the Capacitor Android projectCloudflare/Vite integration is configured in vite.config.js
and wrangler.jsonc. See LICENSE for the license
terms.