diff --git a/CHANGELOG.md b/CHANGELOG.md index 06767dd..1427a83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,34 @@ Format: [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/) — versi --- +## [0.4.0] — 2026-05-29 — Now-playing indicator: dancing bars + Web Audio visualizer + +A small visual that instantly says *"this is playing right now."* Two layers — a reliable CSS-only indicator that always works, and a progressive Web Audio upgrade that draws actual frequency data when the browser allows. + +### Added — dancing bars (always on, CSS only) +- Four tiny vertical bars next to the "Now Playing" label that pulse with a staggered `@keyframes` animation while the audio is playing, settling to a low static state when paused. Pure CSS — no JS dependency, no audio analysis. +- Bars use `var(--wp-admin-theme-color)` so they tint to whichever WP admin colour scheme the user has chosen. +- Driven by a single `.is-playing` class toggled on the `.radio-player` surface from the existing `play` / `pause` / `error` audio handlers. + +### Added — Web Audio frequency visualizer (progressive upgrade) +- On first `play`, `tryVisualizer` builds an `AudioContext` + `AnalyserNode` chain on the `