FLAC audiostreaming with icecast and darkice for turntables recordplayers cd-players and ...
- Install DietPi
- Setup your ADC from
dietpi-config - Install Icecast2 with Darkice from
dietpi-software - Copy Icecast2 config from this repo (and add a password there)
systemctl restart icecast2
- Compile Darkice with FLAC support:
wget https://github.com/rafael2k/darkice/releases/download/v1.5/darkice-1.5.tar.gz # or a later version...
tar -xvf darkice-1.5.tar.gz
cd darkice-1.5/
autoreconf -i
./configure --with-flac --with-alsa
make -j$(nproc)
sudo make install
- Replace Darkice in Daemon file
which darkice
# /usr/local/bin/darkice
vim /etc/systemd/system/darkice.service
# Change /usr/bin/darkice to /usr/local/bin/darkice in darkice.service
systemctl daemon-reload
- Add Darkice config from this repo and add your Icecast2 password
- Restart Darkice and Icecast2
systemctl restart icecast2
systemctl restart darkice
Tune the volume and input using alsamixer
http://HOSTNAME.local:8000/stream.flac