GPK
Ref
https://oyvn.no/multi-room-audio-with-snapcast
Install
- Gebruik Raspberry Pi Imager to write image
- Update
Install utilities
sudo apt install vim screen locate snapclient
Set hostname
cat /etc/hostname gpk
Configureer snapclient
sudo vim /etc/default/snapclient
SNAPCLIENT_OPTS="-h 192.168.2.156"
De naam van de client wordt gezet in snapweb op de snapserver.
Configureer soundcard
Bekijk lijst met cards
aplay -l
Verander 1 regel in /usr/share/alsa/alsa.conf
defaults.pcm.card 2
Create service to set volume on 100%
sudo cat /etc/systemd/system/usb-volume.service [Unit] Description=Set USB DAC volume to 100% After=multi-user.target sound.target Wants=multi-user.target [Service] Type=oneshot ExecStartPre=/bin/sleep 10 ExecStart=/usr/bin/amixer -c 2 sset 'PCM' 100% [Install] WantedBy=multi-user.target
Disable graphic login
sudo raspi-config
Kies boot option menu en set boot option