https://www.figma.com/file/Qq94FUIBFmaFRzEGjnB09grI/Echo?node-id=1%3A2
Raspberry Pi 3
USB Mini Microphone
Magnetic Switch
https://www.adafruit.com/product/375
Note: Connect this switch to GPIO4
& GND
Install Icecast2
sudo apt-get install build-essential libxslt-dev libogg-dev libvorbis-dev git clone https://github.com/karlheyes/icecast-kh cd icecast-kh ./configure make sudo make install
Configure Icecast2
sudo cp conf/icecast.xml /usr/local/etc/icecast.xml
Start Icecast2
icecast -c /usr/local/etc/icecast.xml
NOTE:
Install Raspbian Jessie Lite from here
Clone this repo
cd ~
https://github.com/adamsimms/echoberry
cd echoberry
cd ~/echoberry
bash install_yul.sh
cd ~/echoberry
bash install_ydf.sh
YUL
cd /home/pi/echoberry
ffmpeg -ac 1 -re -f alsa -i hw:1,0 -re -i sounds/forest_reduced15db.mp3 -filter_complex amerge=inputs=2 -f mp3 icecast://source:MyAdminPassword@54.89.215.33:8000/echoberry-yul
YDF
sudo darkice
YUL
mplayer http://54.89.215.33:8000/echoberry-yul
NOTE If you want to hear with USB headset, use this:
mplayer -ao alsa:device=hw=1.0 http://54.89.215.33:8000/echoberry-yul
YDF
mplayer http://54.89.215.33:8000/echoberry-ydf
Now, reboot!