.. | ||
.vscode | ||
cava_@1b7c395bac | ||
hw | ||
libs | ||
res | ||
src | ||
.clang-format | ||
.gitignore | ||
cava_config | ||
cava_config_namedpipe | ||
cava_test | ||
file.wav | ||
install.sh | ||
main.py | ||
Makefile | ||
pixled.service | ||
README.md | ||
sgdb.sh | ||
wget-log |
RpiLedBars
LedBars version for raspberry pi
contains :
- a python test program (main.py)
- a C program using :
- ws2812 with dma/smi from Jeremy P Bentham - https://iosoft.blog/category/neopixel/
- artnet from Stephan Ruloff - https://github.com/rstephan/ArtnetnodeWifi
biblio:
- Art-Net
- Protocol Spec :
- ESP32 library from Stephan Ruloff - https://github.com/rstephan/ArtnetnodeWifi
- ws28** rgb leds
- ws2812 datasheet - https://cdn-shop.adafruit.com/datasheets/WS2812.pdf
- ws2815 datasheet - https://pdf1.alldatasheet.com/datasheet-pdf/view/1134588/WORLDSEMI/WS2815B.html
- ws2812 with dma/smi from Jeremy P Bentham :
Raspi Config :
https://makersportal.com/blog/recording-stereo-audio-on-a-raspberry-pi https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-test
sudo apt install python3-pip sudo pip3 install --upgrade adafruit-python-shell cd /tmp sudo wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2smic.py sudo python3 i2smic.py
plug 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
alsa API
http://www.equalarea.com/paul/alsa-audio.html
for project
sudo apt install libasound2-dev wiringpi
for cava
sudo apt install libfftw3-dev libasound2-dev libtool automake ./autogen.sh ./configure make sudo make install
Access point
grep "Access point conf" $(find /etc -type f)