Get the latest tech news
Software-defined (Internet) radio with Liquidsoap (2023)
ENOSUCHBLOG Programming, philosophy, pedaling. Jun 27, 2023 Tags: howto, music This post is at least a year old.
I couldn’t find a ton of great examples of Liquidsoap online while defining my own radio stream (besides the project’s own excellent docs), so I figured I’d write one. Handle both a “primary” playlist and live microphone break-ins seamlessly, without requiring me to perform a hacky loopback with PulseAudio or ALSA; Integrate into a larger station management workflow, including automatically fetching (and streaming) the right playlist from my Navidrome instance; Be maintained as a program, rather than a collection of semi-reproducible pieces of global system state tied together with shell scripts. With these building blocks (fallible and infallible sources, stream generators, and outputs) we can begin to do more complex things, like defining crossfades between tracks:
Or read this on Hacker News