All Projects → nicokaiser → Rpi Audio Receiver

nicokaiser / Rpi Audio Receiver

Raspberry Pi Audio Receiver with Bluetooth A2DP, AirPlay, UPnP and Spotify Connect

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Rpi Audio Receiver

Hifiberry Os
Linux distribution optimized for audio playback
Stars: ✭ 487 (-25.08%)
Mutual labels:  audio, spotify, alsa, bluetooth
Spocon
SpoCon - A Spotify Connect Client for Debian , Ubuntu and Raspberry Pi based on librespot-java
Stars: ✭ 51 (-92.15%)
Mutual labels:  raspberry-pi, audio, spotify, raspbian
Balena Sound
Build a single or multi-room streamer for an existing audio device using a Raspberry Pi! Supports Bluetooth, Airplay and Spotify Connect
Stars: ✭ 1,306 (+100.92%)
Mutual labels:  raspberry-pi, audio, bluetooth
Multi Room Audio Centralized Audio For Home
🎵 This Github Repository provides details on setting up a centralized audio system for your home using nothing but Raspberry Pi's and Old Speakers.
Stars: ✭ 189 (-70.92%)
Mutual labels:  raspberry-pi, audio, bluetooth
Raspotify
Spotify Connect client for the Raspberry Pi that Just Works™
Stars: ✭ 3,623 (+457.38%)
Mutual labels:  raspberry-pi, spotify, raspbian
Bluez Alsa
Bluetooth Audio ALSA Backend
Stars: ✭ 568 (-12.62%)
Mutual labels:  audio, alsa, bluetooth
Blynk Library
Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc.
Stars: ✭ 3,305 (+408.46%)
Mutual labels:  raspberry-pi, bluetooth
Pi Apps
Raspberry Pi App Store for Open Source Projects
Stars: ✭ 277 (-57.38%)
Mutual labels:  raspberry-pi, raspbian
Seeed Voicecard
2 Mic Hat, 4 Mic Array, 6-Mic Circular Array Kit, and 4-Mic Linear Array Kit for Raspberry Pi
Stars: ✭ 297 (-54.31%)
Mutual labels:  raspberry-pi, alsa
Mobilenet Ssd Realsense
[High Performance / MAX 30 FPS] RaspberryPi3(RaspberryPi/Raspbian Stretch) or Ubuntu + Multi Neural Compute Stick(NCS/NCS2) + RealSense D435(or USB Camera or PiCamera) + MobileNet-SSD(MobileNetSSD) + Background Multi-transparent(Simple multi-class segmentation) + FaceDetection + MultiGraph + MultiProcessing + MultiClustering
Stars: ✭ 322 (-50.46%)
Mutual labels:  raspberry-pi, raspbian
PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (-93.69%)
Mutual labels:  bluetooth, raspbian
Pi Hole Unbound Wireguard
Turning your Raspberry Pi into an ad-blocking VPN with built-in DNS resolution using Pi-Hole, Unbound & WireGuard.
Stars: ✭ 302 (-53.54%)
Mutual labels:  raspberry-pi, raspbian
Ytmdl Web V2
Web version of ytmdl. Allows downloading songs with metadata embedded from various sources like itunes, gaana, LastFM etc.
Stars: ✭ 398 (-38.77%)
Mutual labels:  audio, spotify
Ble examples
Additional examples to compliment TI's Bluetooth Low Energy Stack offerings.
Stars: ✭ 289 (-55.54%)
Mutual labels:  audio, bluetooth
My Pihole Blocklists
Create custom pi-hole blocklists
Stars: ✭ 269 (-58.62%)
Mutual labels:  raspberry-pi, raspbian
ruuvitag-demo
Demo of reading Bluetooth Low Energy sensor measurements of RuuviTag environmental sensors and feeding them to MQTT, a database and dashboards
Stars: ✭ 14 (-97.85%)
Mutual labels:  bluetooth, raspbian
Lms
Lightweight Music Server. Access your self-hosted music using a web interface.
Stars: ✭ 315 (-51.54%)
Mutual labels:  raspberry-pi, audio
Super Simple Raspberry Pi Audio Receiver Install
Super Easy installation to make your Raspberry Pi an Audio Receiver
Stars: ✭ 448 (-31.08%)
Mutual labels:  raspberry-pi, bluetooth
Tauonmusicbox
The Linux desktop music player from the future! 🌆
Stars: ✭ 494 (-24%)
Mutual labels:  audio, spotify
Cattlepi
effortlessly boot, configure, update and monitor your raspberry pi ☁️
Stars: ✭ 250 (-61.54%)
Mutual labels:  raspberry-pi, raspbian

Raspberry Pi Audio Receiver

A simple, light weight audio receiver with Bluetooth (A2DP), AirPlay, Spotify Connect and UPnP.

Features

Devices like phones, tablets and computers can play audio via this receiver.

Requirements

  • Raspberry Pi with Bluetooth support (tested with Raspberry Pi 3, 4 and Zero W) or USB dongle (highly recommended!)
  • Raspberry Pi OS Buster Lite (tested with August 2020 version)
  • Internal audio, HDMI, USB or I2S Audio adapter (tested with Adafruit USB Audio Adapter, pHAT DAC, and HifiBerry DAC+)

Installation

The installation script asks whether to install each component.

wget -q https://github.com/nicokaiser/rpi-audio-receiver/archive/main.zip
unzip main.zip
rm main.zip

cd rpi-audio-receiver-main
./install.sh

Basic setup

Lets you choose the hostname and the visible device name ("pretty hostname") which is displayed as Bluetooth name, in AirPlay clients and in Spotify.

Bluetooth

Sets up Bluetooth, adds a simple agent that accepts every connection, and enables audio playback through BlueALSA. A udev script is installed that disables discoverability while connected.

AirPlay

Installs Shairport Sync AirPlay Audio Receiver.

This script comes with a backported version of shairport-sync from Raspberry Pi OS Bullseye (see SimpleBackportCreation for details) and can be replaced with the original (but older) one in Raspberry Pi OS Buster or a sef-compiled one (not part of this project).

Spotify Connect

Installs Raspotify, an open source Spotify client for Raspberry Pi).

UPnP

Installs gmrender-resurrect UPnP Renderer.

Snapcast

Installs snapclient, the client component of the Snapcast Synchronous multi-room audio player.

Read-only mode

To avoid SD card corruption when powering off, you can boot Raspberry Pi OS in read-only mode. This is described by Adafruit in this tutorial and cannot be undone.

Limitations

  • Only one Bluetooth device can be connected at a time, otherwise interruptions may occur.
  • The device is always open, new clients can connect at any time without authentication.
  • To permanently save paired devices when using read-only mode, the Raspberry has to be switched to read-write mode (mount -o remount,rw /) until all devices have been paired once.
  • You might want to use a Bluetooth USB dongle or have the script disable Wi-Fi while connected (see bluetooth-udev), as the BCM43438 (Raspberry Pi 3, Zero W) has severe problems with both switched on, see raspberrypi/linux/#1402.
  • The Pi Zero may not be powerful enough to play 192 kHz audio, you may want to change the values in /etc/asound.conf accordingly.

Wiki

There are some further examples, tweaks and how-tos in the GitHub Wiki.

Disclaimer

These scripts are tested and work on a current (as of September 2020) Raspberry Pi OS setup on Raspberry Pi. Depending on your setup (board, configuration, sound module, Bluetooth adapter) and your preferences, you might need to adjust the scripts. They are held as simple as possible and can be used as a starting point for additional adjustments.

Upgrading

This project does not really support upgrading to newer versions of this script. It is meant to be adjusted to your needs and run on a clean Raspberry Pi OS install. When something goes wrong, the easiest way is to just wipe the SD card and start over. Since apart from Bluetooth pairing information all parts are stateless, this should be ok.

Updating the system using apt-get upgrade should work however.

Contributing

Package and configuration choices are quite opinionated but as close to the Debian defaults as possible. Customizations can be made by modifying the scripts, but the installer should stay as simple as possible, with as few choices as possible. That said, pull requests and suggestions are of course always welcome. However I might decide not to merge changes that add too much complexity.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].