RepositoryPythonCHSwitzerland
hifiberry

hifiberry/hifiberry-os

Linux distribution optimized for audio playback

1.3kstars
160forks
4issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: snapcast

#1 Repository of the week

1
TINIX TRENDING·Topic: alsa

#1 Repository of the week

1
TINIX TRENDING·Topic: mpd

#1 Repository of the week

HiFiBerryOS Next Generation

The next-generation HiFiBerryOS is a complete rewrite, now based on a standard Debian distribution. It uses Debian packages to install tools, audio players, and the user interface, making it more flexible and modular.

Documentation

Architecture

The system is composed of several core components:

PipeWire

We use PipeWire as a system daemon to manage concurrent access to the sound card by multiple players.

AudioControl

AudioControl is our central control service. It manages audio routing and integrates with player backends and the web user interface.

WebUI

The WebUI is served directly by AudioControl, which includes a built-in web server.

Players

Audio players are provided as standalone packages. You only need to install the ones you intend to use. Available players include:

  • MPD – plays local music files (MP3, WAV, FLAC, etc.)
  • Librespot – provides Spotify Connect support
  • Raat – Roon audio playback (via the Roon Bridge)
  • Shairplay – AirPlay 2 implementation
  • Squeezelite – Logitech Media Server client

More players may be added in the future. You can also package and install your own player. To make it visible and controllable through AudioControl/WebUI, see Add your own player.

Hardware Recommendations

Minimum Requirements

HiFiBerryOS runs on any 64-bit Raspberry Pi (Pi 3, Pi 4, or Pi 5) with a compatible HiFiBerry HAT. The system requires:

  • RAM: 1GB minimum (2GB+ recommended for better performance)
  • Storage: 8GB microSD card minimum (16GB+ recommended)
  • Network: Ethernet or Wi-Fi connectivity

Performance Considerations

For streaming applications only:

  • Any Pi 3, Pi 4, or Pi 5 will provide excellent performance
  • Standard microSD card storage is sufficient
  • Wi-Fi connectivity works well for most use cases

For large local music libraries (1000+ albums):

  • Pi 5 with SSD highly recommended for optimal performance
  • SSD storage significantly improves library scanning and indexing
  • Ethernet connection preferred for network-attached storage (NAS) access
  • Consider Pi 4 with 4GB+ RAM as a cost-effective alternative

Storage Options

  • microSD Card: Suitable for streaming and small local libraries
  • USB 3.0 SSD: Best performance for large libraries and frequent database operations
  • Network Storage: NAS or network shares work well with sufficient network bandwidth

HiFiBerry HAT Compatibility

HiFiBerryOS supports all current HiFiBerry audio HATs. No sound cards from other manufacturers are supported.

Installation

To install HiFiBerryOS, start with Raspberry Pi OS Lite and add the required packages.

Add repository

Start adding the HiFiBerry debian repository:

curl -Ls https://tinyurl.com/hbosrepo | bash

Package installation

The install-all script will install the minimal base packages:

curl -Ls https://raw.githubusercontent.com/hifiberry/hifiberry-os/refs/heads/hbosng/install-all | bash

Install all players

Install a full or minimal set of packages. The full set includes all players, while the minimal comes only with mpd. We recommend the full installation for most users:

sudo apt install -y hbos-full

If you prefer a minimal installation and want to install only the players you really need:

sudo apt install -y hbos-minimal

Base configuration

sudo config-configtxt --default-config --enable-i2c
reboot

How to use

Open the WebUI at http://:80/ to start the initial setup wizard. It will guide you through sound card selection, system naming, and service configuration.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
librosa/librosa

Python library for audio and music analysis

9.3k
Dec 2, 2026
RepositoryC
owntone/owntone-server

Audio server that can play to AirPlay 1+2 speakers (multiroom), Chromecast and locally. Supports Spotify, internet radio and many file formats. Also MPD server, iTunes DAAP, smart playlists, Apple Remote and much more.

2.6k
Nov 23, 2026
RepositoryShell
byrdsandbytes/beatnik-pi

Open Source Multiroom Audio Streamer based on Raspberry Pi, Snapcast & camillaDSP

496
Nov 30, 2026
RepositoryPython
spotDL/spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).

27.0k
Nov 22, 2026
RepositoryPython
AIGC-Audio/AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head

10.2k
Jul 6, 2024
RepositoryPHP
koel/koel

Music streaming solution that works.

17.4k
Dec 1, 2026
RepositoryKotlin
maxrave-dev/SimpMusic

A cross-platform music app using YouTube Music for backend

14.2k
Dec 2, 2026
RepositoryC++
sonic-pi-net/sonic-pi

Code. Music. Live.

12.3k
Nov 27, 2026
RepositorySwift
AudioKit/AudioKit

Audio synthesis, processing, & analysis platform for iOS, macOS and tvOS

11.5k
Jul 26, 2026