Radio is a simple program that turns a Raspberry Pi into a radio that can play audio from a number of different sources.
These are the sources that have been implemented for now:
- Web stream
- Airplay
- Bluetooth
Run Radio from your shell:
go cmd/main.goSet a channel using curl, e.g.
curl -XPUT http://localhost:8080/select/1See http.go for more
Radio uses PulseAudio. If you are on a non-linux OS you will need to install it, for example via Homebrew:
brew bundleAnd start it:
pulseaudioThe radio can be configured via a config file (default radio.json or can be
set using the -c flag). See radio.json for an example configuration.
In the future I will post hardware I've used to build the radio here, as well as schema's on how to wire up the GPIO for the control knobs.