LedBars/RpiLedBars
2021-09-28 09:07:15 +01:00
..
.vscode multithreaded app 2021-07-28 21:26:40 +01:00
cava@1b7c395bac changing path for cava 2021-09-28 09:07:15 +01:00
hw moving ressources 2021-07-30 10:58:19 +02:00
libs adding logger 2021-07-30 10:18:14 +01:00
res correct selector pins, cava out, test mode 2021-08-01 09:44:05 +01:00
src a lot of new stuff 2021-09-05 22:53:31 +01:00
.clang-format beta with artnet protocol 2021-05-01 00:06:38 +01:00
.gitignore beta with artnet protocol 2021-05-01 00:06:38 +01:00
cava_config cava with pipe, and template 2021-07-30 10:59:34 +02:00
cava_config_namedpipe cava with pipe, and template 2021-07-30 10:59:34 +02:00
cava_test multithreaded app 2021-07-28 21:26:40 +01:00
file.wav multithreaded app 2021-07-28 21:26:40 +01:00
install.sh multithreaded app 2021-07-28 21:26:40 +01:00
main.py meh 2020-08-07 00:26:40 +02:00
Makefile correct selector pins, cava out, test mode 2021-08-01 09:44:05 +01:00
pixled.service a lot of new stuff 2021-09-05 22:53:31 +01:00
README.md cleaning readme 2021-09-06 11:06:38 +01:00
sgdb.sh beta with artnet protocol 2021-05-01 00:06:38 +01:00
wget-log multithreaded app 2021-07-28 21:26:40 +01:00

RpiLedBars

LedBars version for raspberry pi

Contains

Install

I2S Microphone

Install dependencies

sudo apt install python3-pip
sudo pip3 install --upgrade adafruit-python-shell

Build and install module

cd /tmp
sudo wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2smic.py
sudo python3 i2smic.py

After a kernel update this step as to be executed again (after reboot -> depends on uname)

Test microphone

Plug the microphone

sudo reboot
arecord -l
arecord -D plughw:1 -c1 -r 48000 -f S32_LE -t wav -V mono -v file.wav

Control record volume

cp res/.asoundrc ~/.asoundrc

Project depenencies

sudo apt install libasound2-dev wiringpi

Cava

sudo apt install libfftw3-dev libasound2-dev libtool automake
cd cava
./autogen.sh
./configure
make
sudo make install

Access point

grep "Access point conf" $(find /etc -type f)

Biblio:

Art-Net

ws28xx rgb leds