Giter Site home page Giter Site logo

ansible-role-audio's Introduction

House Multizone Audio system

This is an Ansible role that configures a server to drive multiple outputs of several soundcards, for use in a multi-room home audio system.

With this setup I can direct audio from my phone to any room, as well as to virtual targets that play simultaneously in several rooms.

Supports PulseAudio, AirPlay, and maybe soon other protocols (DLNA/Chromecast)

The machine I'm using for this setup is an Orange Pi Plus 2e with a pair of USB2-connected, 7.1 channel DACs, running Armbian Focal.

Also in this repo is a detailed [troubleshooting log][notes.md], because in 2020, setting up audio on Linux is still a mess, and a lot of information you find searching online is woefully out of date.

Update

In 2023, no one makes packages for distributions anymore. In order to upgrade shairport-sync without compiling from scratch we have to learn Docker.

There's a weird issue with the resulting setup, in that if I start more than 4-5 containers at once, the images lock up while starting dbus or ntpd.

My solution was to start them one at a time, staggering the starts using systemd `execStartPre=/bin/sleep

Note that to bring down the service you need to run systemd stop shairport-sync.target. If you use Docker to stop the images systemd is just going to restart them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.