Git Product home page Git Product logo

sound_system's Introduction

๐Ÿ”Š Sound System

My personal home sound system setup.

Architecture Diagram

Built using open-source software:

All components are glued together using:

  • ALSA - Core linux audio functionality.
  • LADSPA - API for linux audio plugins.

๐Ÿ› ๏ธ Dependencies

First install all dependencies needed by the Makefile to build the system on your device.

sudo apt install -y git libasound2-dev libssl-dev pkg-config python3-venv python3.9-dev ladspa-sdk
sudo apt-get -y install curl && curl -sL https://dtcooper.github.io/raspotify/install.sh | sh

๐Ÿš€ Installation

  • make to build all the tools from source.
  • sudo make install to install and run all system components.
  • sudo make uninstall to stop and remove all components.
  • make clean to remove the build directory.

โš™๏ธ Configuration

This part is still work in progress.. Each configuration file/script is stored in templates folder. Inside them there are variables with double curly braces, which are replaced at build time. This way you can build different setups derived from default by overriding Makefile variables.

This may change in future with addition of ./configure script which will make the configuration step more user friendly.

Terratec Aureon 7.1 USB

I use Terratec sound card to:

  • Capture audio from TV via S/PDIF optical cable
  • Capture audio from my DJ console via standard jack cable
  • Output audio to the Onkyo amplituner via another S/PDIF optical cable

Captured audio is sent to Raspberry PI for mixing with other sources like Raspotify. After all the transformations it gets sent back to this device for playback.

Configuration

You can adjust this sound card's controls using either alsamixer TUI, or amixer CLI. The device itself has 4 sources:

  • Mic 1 - 2 channel input for Microphone #1
  • Mic 2 - 2 channel input for Microphone #2
  • Line - 4 channel Jack input
  • IEC958 - 4 channel S/PDIF (optical) input

switch-jack-tv.sh script makes it easy to toggle between Jack and TV input.

Snapcast dependencies

Snapcast integration is work in progress...

sudo apt-get install build-essential cmake
sudo apt-get install libasound2-dev libpulse-dev libvorbisidec-dev libvorbis-dev libopus-dev libflac-dev libsoxr-dev alsa-utils libavahi-client-dev avahi-daemon libexpat1-dev

sound_system's People

Contributors

mtyszkiewicz avatar

Watchers

 avatar

sound_system's Issues

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.