Volumio's operating system is free to download and use, so in a Volumio radio on a Raspberry Pi the money goes on the board and the audio path. For a first build, run moOde or Volumio and control it from a browser, picking stations from the directory each one has built in. piCorePlayer suits people who already run Lyrion. Bare MPD suits people who want to write its settings by hand.
Which software should a first build use?
Volumio needs no server and no configuration file before the first station plays. You write it to a card with Raspberry Pi Imager, power the Pi on and then open volumio.local in a browser. The free OS lists web radio directories among its built-in features, so stations are there to pick from the first time the page loads. Premium is a separate subscription, and the radio directories are part of the free OS.
moOde asks a little more of the hardware. Its setup guide calls for a 64-bit Pi and at least 16GB of boot media, and it warns that 512MB models such as the Zero 2 W and Pi 3A+ have limitations. It installs from the Media Player OS section of Raspberry Pi Imager. Its station list combines curated streaming radio with the global Radio Browser directory, and I2S boards are among its audio outputs, so a DAC HAT can be set up from inside the player.
On those 512MB boards, moOde cannot build or install the Spotify Connect package on demand, and the WebUI will not load on a display attached to the Pi itself, because the browser process needs more RAM.
piCorePlayer belongs to a different system. Its documentation groups Squeezelite, Lyrion Music Server (LMS) and the Jivelite interface together, and its guides cover burning it to an SD card and setting up Wi-Fi, but the player needs LMS to feed it. It runs on very little, since Lyrion's beginner's guide names the Zero 2 W as its main pick for streaming internet radio to Squeezebox players through piCorePlayer, using the 32-bit variant. That two-part setup suits people who already run Lyrion. For a first radio, one box is simpler.
Plain MPD is the bare end of the range. It is a server-side player controlled by clients, so it needs a client to choose what plays, and its output settings are written by hand in mpd.conf. Some MP3 stations send the current song with a protocol called ICY-MetaData, and MPD reads the title from it. That gives full say over how it is set up, at the cost of choosing a client and adding each stream address yourself. moOde and Volumio put a browser interface and a station directory in one image. If an I2S DAC is part of the plan, moOde has the edge, because one guide covers its whole path from Imager to a configured DAC.
A Pi 4 is the easiest radio board, and a Pi 5 lists no audio jack
Memory, Wi-Fi and the audio output decide which board suits a radio. Raspberry Pi lists the Zero 2 W at $15, with 512MB of memory, Wi-Fi on 2.4GHz only and a mini HDMI port, and its specifications mention no audio jack. Its 40-pin header footprint is HAT-compatible but unpopulated, so it comes with no header pins fitted. Sound on a Zero 2 W goes out over HDMI, USB audio or a DAC. The Zero 2 W is smaller and cheaper, if you can live with adding a DAC, with 2.4GHz Wi-Fi and with moOde's 512MB caveat.
The Pi 3B+ and Pi 4 are the boards here whose specifications list a 4-pole stereo jack. Both pair it with dual-band Wi-Fi, so either can drive a pair of powered speakers with nothing added. The 3B+ has 1GB of memory. The Pi 4 starts at $35, comes with 1GB to 8GB and adds Bluetooth 5.0. If the same box should also serve your own music files, Lyrion's guide asks for a 3B+ or better.
The Pi 5 comes with 1GB to 16GB of memory, and like the Zero 2 W it lists no audio jack, so it needs HDMI, USB audio or a DAC for sound. Sure, a Pi 5 you already own meets moOde's 64-bit requirement, but a Pi 5 bought for a radio still needs that extra audio route, while a Pi 3B+ or Pi 4 can play through powered speakers straight from its own jack.
I think the Pi 4 is the easiest first build, because its 4-pole stereo jack and dual-band Wi-Fi mean a radio needs only the board, a card, a power supply and powered speakers. If a smaller, cheaper box matters more, the Zero 2 W is an option, as long as you add an audio output, accept Wi-Fi on 2.4GHz only and live with the limitations moOde's guide lists for 512MB models. The Pi 3B+ sits between them, with the same jack and dual-band Wi-Fi as the Pi 4.
Is the 3.5mm jack good enough, or do you need a DAC?
Raspberry Pi's documentation names three audio output modes in Raspberry Pi OS: HDMI, the 3.5mm jack on models that have one, and USB audio. By default, audio goes to the first HDMI device. It falls back to the jack or a USB device only when no HDMI device is found. So on Raspberry Pi OS, a Pi that is still plugged into a TV or monitor over HDMI will send audio there by default until you change the output.
The jack is the cheapest path because it needs only a cable and powered speakers, and on a Pi 3B+ or Pi 4 it is the place to start. HDMI suits a radio that sits beside a TV or an amplifier with an HDMI input. Raspberry Pi's audio whitepaper also covers Bluetooth, and the Pi 4 has Bluetooth 5.0, but a radio that stays on one shelf gains little from going wireless.
For an output other than the Pi's own analogue jack, a USB DAC is the simpler first upgrade, because it uses the USB audio mode and needs nothing stacked on the board. An I2S DAC HAT sits on the 40-pin header instead and is set up by name in moOde's audio settings. HiFiBerry no longer sells its DAC+ with a single 3.5mm jack to end users, so check that a board is still on sale before planning around it.
Flashing moOde and reaching the first station follows one guide
This route follows the moOde setup guide. Open Raspberry Pi Imager, go to the Media Player OS section, choose moOde and write it to a card of at least 16GB. Before writing, open the customisation settings, set a username and password, and turn on SSH, since both have to be set in that screen. If the Pi will not use Ethernet, add your Wi-Fi network there as well. Older moOde images from the archive need Imager 1.9.6.
Put the card in the Pi, connect the speakers or USB DAC, and power it on. The first startup takes a while, and moOde automatically reboots 3 times after initially starting to import and apply the settings from Imager. Once it has booted, type http://moode.local into a browser on the same network. http://moode or the Pi's IP address will work too.
For an I2S HAT, the guide says to power the Pi down before attaching the board to the 40-pin header. With moOde running again, go to Configure > Audio, set Named I2S device or DT overlay to your board and restart. Then choose the board as the Output device. Stations come from moOde's curated list or a Radio Browser search, and playback goes to whichever output you set.
On Volumio, the player appears as online in the Volumio app after the first boot. Tap Setup and follow the steps, or open volumio.local in a browser, then choose a station from its web radio directories. With either player, the first station plays without typing in a stream address.
What do you do when it hisses, drops out or a station goes dead?
Some MP3 streams send information about the current song with a protocol named ICY-MetaData, and MPD exposes the stream's title from it. The MPD manual lets you tell MPD to assume a different character set by specifying it in a charset fragment parameter at the end of the stream URL; on a plain MPD build, that is the fix to try when station names or titles show up as junk characters. As an example, the manual's form is http://radio.example.com/stream#charset=cp1251, with your station's address and encoding in place of those.
For silence, or sound coming from the wrong socket, check the output setting first. The Raspberry Pi documentation names three output modes: HDMI, the 3.5mm jack on models that have one, and USB audio. In moOde the setting is the Output device under Configure > Audio. When sound goes to the wrong output on any Pi, unplug a connected monitor or TV, since the HDMI-first default sends sound there. On plain MPD, the output is an audio_output block in mpd.conf with type alsa and a device such as hw:0. If no block is defined, MPD tries to find a device by itself, so once a DAC is fitted it is safer to write the block out.
Hiss from the jack calls for a different output path, a USB DAC or an I2S HAT, in place of the Pi's analogue output. For dropouts, look at the connection. The Zero 2 W has Wi-Fi on 2.4GHz only, while the Pi 3B+ and Pi 4 are dual-band, so either of those can join a 5GHz network or take an Ethernet cable when the signal where the radio sits is weak.
When a station that used to play goes silent, delete its entry and find the station again in Radio Browser on moOde or in Volumio's web radio directories. That swaps in the stream address the directory now lists, and it saves hunting for a new URL by hand, which is the only route on a plain MPD build, where every station is an address you add yourself.
Choosing moOde or Volumio means giving up piCorePlayer's Squeezebox ecosystem and the hand-written control of bare MPD, and in return you get a radio run from a browser on a $15 to $35 board, with no software cost on Volumio's free OS.
My posts look at how far a Raspberry Pi can go with retro gaming. I test which old consoles run smoothly and which ones struggle. Readers send me questions, and I answer them with plain, practical advice.
16 articles →