UPDATE 2022-04-26: Changed Bash aliases for PipeWire.
UPDATE 2022-04-22: Found some possible alternative solutions in this awesome list’s Radio Production category. I’m sticking to this setup for now because it seems more lightweight. The live auto DJ features in AzuraCast looks really cool though.
Here’s the problem. My music files are stored somewhere. I need an easy way to listen to these music LIVE from any networked device. I also need greater control over the sound with crossfades, gapless playback or maybe even some live-mixing. The solution preferably is platform-independent so I can hear the music from a TV, a home sound system, etc. The best idea I could come up with to solve this is an audio streaming server that will serve up a livestream accessible by any network-capable media player. Basically, a radio station.
It’s unbelievable to me that I wasn’t able to find a single out-of-the-box solution to this problem. Or maybe I just didn’t look hard enough. In particular, I don’t know if OBS Studio can do all this too. If it can, well I think a big app like OBS might be overkill for this. This makeshift solution I have been using for months now is mostly thanks to two quite old articles I luckily found.
This setup is for Linux only and not Windows. All the tools used are free and open-source. I wrote this guide as an easier reference that is also updated for 2022.
The 7 Steps (to becoming a DJ!)
Step #1 - Setup: icecast, darkice, murmur, mumble
- icecast.org - streaming media server
- github.com/rafael2k/darkice - live audio streamer
- www.mumble.info - mumble is the VOIP client, murmur is the server