Skip to content

Latest commit

Β 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Zen Code Ambience 🧘

Ambient soundscapes for focus β€” rain, thunder, train, cafe chatter, lofi, piano, white noise & more.

Quick Access

Method How
Browser (any device) Visit aayushrajaji-09.github.io/zen-code-ambience β€” works instantly. Install as PWA on mobile/desktop.
Chrome Extension Load extension/ folder in chrome://extensions (Developer Mode) or submit to Chrome Web Store. Side panel support included.
IDE Extension Install aayush.zen-code-ambience-1.0.0 from the Antigravity marketplace.
Terminal (CLI) Run ./zen-ambiator.ps1 (PowerShell) or ./zen-ambiator.zsh (zsh/mpv).

Features

  • 14 Audio Channels: Organized into collapsible categories (Nature, Weather, Cozy, Music).
  • ⏭ Skip Track: Each channel contains a library of 3-5 alternate tracks. Cycle through them instantly.
  • πŸ”Š Master Volume: Proportional global volume scaling.
  • πŸ“» Web Audio White Noise: Procedurally generated continuous white noise (no files, zero-latency).
  • Smooth Fade Transitions: 300ms volume fade when toggling play/pause to prevent sudden audio pops.
  • Vibrant Aesthetics: Glassmorphic dark-theme design with pulsing borders and equalizer visualizers.

🧠 The Science of Sound & Productivity

Listening to music and ambient noise has been scientifically proven to boost focus, efficiency, and creative problem-solving:

  • State Positive Affect & Efficiency: In a study by Dr. Teresa Lesiuk (University of Miami), software developers who listened to music completed tasks more quickly and produced higher-quality ideas compared to working in silence. The music acts as a mood regulator, elevating positive affect, which in turn enhances cognitive thinking and systematic problem-solving.
  • Creative Abstract Thinking: Research published by Dr. Ravi Mehta (University of Illinois) shows that moderate ambient noise (~70 dB, similar to cafΓ© chatter or soft rain) triggers a slight cognitive challenge that fosters abstract processing, leading to higher creative output compared to absolute silence or loud environments.

By mixing natural sounds, rain, and instrumental music, you can design the optimal acoustic sweet-spot for your brain to trigger a flow state.


Project Structure

zen-code-ambience/webview.html     ← Antigravity extension (main product)
zen-ambiator.ps1 / .zsh            ← CLI players
docs/                              ← GitHub Pages site (PWA)
  β”œβ”€β”€ index.html                   ← same webview + PWA manifest
  β”œβ”€β”€ manifest.json                ← PWA install manifest
  β”œβ”€β”€ sw.js                        ← service worker (offline cache)
  └── icons/                       ← app icons
extension/                         ← Chrome extension
  β”œβ”€β”€ manifest.json                ← Manifest V3
  β”œβ”€β”€ popup.html                   ← popup / side panel
  └── icons/

🌐 Enable GitHub Pages (one-time)

  1. Go to repo Settings β†’ Pages
  2. Source: Deploy from a branch
  3. Branch: main, folder: /docs
  4. Save. The site is live at https://aayushrajaji-09.github.io/zen-code-ambience/ within 2 minutes.

🧩 Load Chrome Extension (developer mode)

  1. Open chrome://extensions
  2. Enable Developer mode (top-right toggle)
  3. Click Load unpacked β†’ select the extension/ folder
  4. Pin the extension to the toolbar. Click to open, or right-click β†’ "Open side panel" for persistent playback.

πŸ’» CLI Version (zen-ambiator.ps1)

If you want to use the mixer directly from your terminal (outside the IDE), run:

./zen-ambiator.ps1

CLI Features:

  • Fully interactive console HUD with high-tech ASCII art.
  • Monospace progress bars displaying channel volumes.
  • Toggle channels, skip tracks, and adjust master/channel volumes with simple commands:
    • [Num] (e.g. 1, 2) β€” Toggle play/pause for a channel.
    • s [Num] (e.g. s 1) β€” Skip track.
    • v [Num] [Val] (e.g. v 1 80) β€” Set channel volume (0-100%).
    • mv [Val] (e.g. mv 70) β€” Set master gain volume.
    • m β€” Mute all.
    • q β€” Quit.

πŸ‘€ Maintained & Operated By

Aayush Rajaji
Aayush Rajaji
Founder & CBO @ AIGyde Β· Founder @ Greston Global Β· Co-Founder @ FounderTube
GitHub (@Aayush-Rajaji) Β· LinkedIn

πŸ“„ License

MIT License.

About

zen-code-ambience β€” Premium multi-channel ambient sound mixer and live audio stream player in the editor sidebar for deep focus and flow-state coding. 🎧✨

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages