Skip to content

Latest commit

 

History

History
53 lines (44 loc) · 2.2 KB

README.md

File metadata and controls

53 lines (44 loc) · 2.2 KB

Musicbox

This project was born when we got more and more unhappy with the portable bluetooth speaker you can find online. Since we go to festivals each year it was important for us to be able to play music with a higher volume and better quality than most available speakers provided. Plus, it adds an extra level of individuality. A brief overview on th project can be found here

Hardware

Raspberry pi
Suptronics x400

Software

Raspbian
Mopidy (with the following plugins)

mopidy-spotify
mopidy-spotify-tunigo
mopidy-youtube

BT-Speaker

Installation

If you want to install the software as is (e.g. if you have the exact same system as me), just do:

sudo apt-get -qq update && sudo apt-get -qq install git && git clone https://github.com/NitramLegov/Musicbox.git && cd Musicbox && sudo ./Install.sh

For the audio settings to work you have to reboot after the installation.

Please note that this script contains the following line:

curl -s https://raw.githubusercontent.com/lukasjapan/bt-speaker/master/install.sh | sudo bash

This means trusting the owner of the bt-speaker repo just as much as the author of this Musicbox repo. Please check upfront and decide whether you really want to do this.

Adjusting to your needs

If you use a different soundcard: Adjust the following lines in Install_SystemSettings.sh to your needs:

if check_iqaudio_activated ; then
 #do nothing
 echo 'iqaudio already activated'
else
 echo 'activating iqaudio'
 enter_full_setting dtoverlay=iqaudio-dacplus $CONFIG
 sudo cp asound.conf /etc/asound.conf
fi
echo 'iqaudio activated'

In this case, please also consider changing asound.conf to your needs accordingly.

If you want to use a different set of mopidy plugins: Install Mopidy manually (Following this Tutorial) Install the plugins Check the settings done in defaultConfigMopidy.py and copy especially the output option in the audio section: output = 'alsasink device=default'