Add mpv config with EBU R128 loudness normalization
Adds config/mpv.conf with af=loudnorm filter for consistent volume across radio stations. No more manual volume adjustment when switching. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user