An easy way to have a 24/7 audio stream of music.

Try to enable LUFS, autocue, and normalize

Changed files
+15 -5
+15 -5
script.liq
···
#!/usr/bin/liquidsoap
+
# This is the EU R128 standard
+
settings.lufs.track_gain_target := -23.
+
# Enable LUFS compute if missing from files
+
enable_lufs_track_gain_metadata()
+
+
# Enable the autocue metadata resolver
+
enable_autocue_metadata()
+
# Playlist
i_playlist = crossfade(
duration=3.0,
···
start_blank=true,
max_blank=1.0,
threshold=-45.0,
-
playlist(
-
mode="randomize",
-
reload=1,
-
reload_mode="rounds",
-
"/music"
+
normalize_track_gain(
+
playlist(
+
mode="randomize",
+
reload=1,
+
reload_mode="rounds",
+
"/music"
+
)
)
)
)