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:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of internet

internet

Photo of radio

radio

Photo of software

software

Related news:

News photo

OneRail’s software helps solve the last-mile delivery problem

News photo

Microsoft Unveils Software to Ease AI App Development, Model Switching

News photo

Show HN: World's Radio – Listen to Radio Stations Worldwide