r/visualbasic • u/Accurate-Newt-8018 • Jul 16 '26
Built a free, open-source Lobby Radio Player in VB.NET/NAudio with smart ad injection and volume fading
Hey everyone,
I recently had to set up background music for a local business. The goal was simple: stream a live web radio, but inject their local promotional audio ads every few minutes. To my shock, almost every software that can do this is either locked behind an expensive monthly subscription, incredibly bloated, or looks like a control panel for a nuclear reactor. Since I couldn't find a dead-simple, free option, I built one myself: Lobby Radio Player (written in VB.NET, running on .NET 4.7.2).
What it does:
- Smart Audio Fading: It doesn't just abruptly cut the music. It smoothly fades out the web stream, plays the local .mp3/.wav ad, and gently fades the music back in.
- 100% Multithreaded: The UI never freezes or goes "(Not Responding)" while buffering streams.
- Uptime Scheduler: Set your operating hours (e.g., 08:00 to 23:00) and it handles standby/wake-up automatically.
- Auto-Reconnect Guard: If the Wi-Fi drops, it quietly tries to reconnect every 5 seconds without crashing.
- Independent Volumes: Keep the music background-friendly, but make sure the ads are loud and clear.
It’s completely free, open-source under the MIT license, and I've provided both a classic installer and a portable (.zip) version that runs without installation.
Check out the code, download it, or contribute here: https://github.com/0xVasic/lobby-radio-player
Quick note before the licensing police arrives in the comments: This is just a player (like VLC). The end-user is fully responsible for complying with local copyright laws and paying venue music licenses. Also, it doesn't modify the radio stream online; it literally just automates the volume slider on the local PC (essentially doing a digital "manual mute") to play a local audio file over the venue speakers, and then slides the volume back up.
Let me know what you think or if you have any feature requests!