diff --git a/CHANGELOG.md b/CHANGELOG.md index ea4f9e6..06c679b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 2026-04-07 +- Add `config/mpv.conf` with EBU R128 loudness normalization (af=loudnorm) +- Consistent volume across all stations — no more manual adjustment +- Update README with mpv config instructions + ## 2026-04-06 - Sort stations into logical sections with comment headers (News, MSM, Public Radio, European, Campus, SomaFM, Radio Paradise, Ambient, Music, Ontario) - Add Monocle 24 (London) — 24hr speech radio from monocle.com (http://radio.monocle.com/live) diff --git a/README.md b/README.md index 6043fd9..0b5bc67 100644 --- a/README.md +++ b/README.md @@ -76,12 +76,19 @@ cp stations.csv ~/.config/pyradio/stations.csv # or symlink it ln -sf "$(pwd)/radio-stations/stations.csv" ~/.config/pyradio/stations.csv +# optional: use the mpv config for volume normalization +cp config/mpv.conf ~/.config/mpv/mpv.conf + # launch pyradio ``` all streams are direct (icecast, HLS, shoutcast, .pls) — no youtube, no wrappers, no auth needed. +## mpv config + +`config/mpv.conf` includes EBU R128 loudness normalization (`af=loudnorm`) so volume stays consistent across stations. copy it to `~/.config/mpv/mpv.conf` or merge the `af=loudnorm` line into your existing config. + ## license public domain. listen to good radio. diff --git a/config/mpv.conf b/config/mpv.conf new file mode 100644 index 0000000..61cd7a6 --- /dev/null +++ b/config/mpv.conf @@ -0,0 +1,9 @@ +[pyradio] +volume=50 + +[default] +ytdl-format=bestaudio/worst +no-video=yes + +# EBU R128 loudness normalization — consistent volume across stations +af=loudnorm=I=-16:LRA=11:TP=-1