Skip to content

Dhun 1.1 · धुन

Choose a tag to compare

@Ayush-pbh Ayush-pbh released this 30 Aug 22:38
· 5 commits to main since this release

The music update. Dhun no longer just shows you what's playing — it listens.

🌌 Visualizers

Ambient mode (⌘-click the square or use the menu bar) can now replace its blurred backdrop with one of eight full-screen generative Metal scenes, every one steered by Spotify's actual audio — captured with ScreenCaptureKit, analyzed with an Accelerate FFT, and condensed into control signals. Never a bar chart: bass moves the large masses, mids stir turbulence, highs add flicker, and every scene stays alive in quiet passages.

  • Ambience Plasma — WMP-era energy clouds and tendrils
  • Ink in Water — frame-feedback blooms that remember the song
  • Murmuration — a 14,000-bird GPU flock
  • Volumetric Explosion — raymarched blasts that detonate on bass hits and never loop
  • MoonWalk — a moonlit flight whose speed rides the music
  • Cloud Canal & Calm Flow — serene scenes that borrow only your colors
  • Movement — the live spectrum painted into slowly drifting light

Every scene takes one of five color moods — or Album colors, tinted live from the current cover.

🎚️ React to sound

A new toggle (Settings → Extras, also in the debug overlay) mutes the audio reaction without leaving ambient mode: scenes keep their idle drift, and no audio is captured at all while it's off.

🔬 Debug overlay

For the curious: a live waveform straight from the capture pipeline, the renderer's real FPS, plus a scene dropdown and reaction switch — so you can hop between visualizers from inside ambient mode.

⚙️ Settings & About

The Settings pane got a cleanup, and a new About tab with version info, links (GitHub, ayusht.me), the full shader credits, and the license.

🔐 Permissions

The visualizers need macOS's Screen & System Audio Recording permission to hear Spotify (Dhun never touches the microphone, and captures nothing when React to sound is off). macOS only asks once — if the waveform flatlines, enable Dhun in System Settings → Privacy & Security → Screen & System Audio Recording and relaunch.

📜 License change

Dhun 1.1 is licensed CC BY-NC-SA 4.0 (v1.0 was MIT and remains so). The change lets Dhun adapt visualizer shaders from the Shadertoy community, whose default license is CC BY-NC-SA 3.0. Adapted scenes — Volumetric Explosion (Duke), MoonWalk (Nikos Papadopoulos / 4rknova), Cloud Canal (Stéphane Cuillerdier / Aiekick), Calm Flow (Sebastien Durand) — carry attribution headers in the source and full credits in the README and the About tab. Ambience Plasma, Ink in Water, Murmuration, and Movement are original scenes by Ayush Tripathi.

Install

Easiest — one line in Terminal, no Gatekeeper dialog:

curl -fsSL https://raw.githubusercontent.com/Ayush-pbh/dhun/main/install.sh | sh

Homebrew: brew install --cask ayush-pbh/tap/dhun then xattr -d com.apple.quarantine /Applications/Dhun.app (Homebrew quarantines unnotarized apps and v6 removed --no-quarantine).

Or download Dhun-1.1.dmg below and drag Dhun into Applications. Dhun isn't notarized yet, so the first launch shows "Dhun" Not Opened — click Done (not "Move to Trash"), then System Settings → Privacy & Security → scroll to the bottom → Open Anyway. One time only. Needs macOS 13+ and the Spotify desktop app.


Dhun is an independent project and is not affiliated with or endorsed by Spotify.