dancyPi-audio-reactive-led
dancyPi-audio-reactive-led copied to clipboard
Audio player mode
Tested on Raspberry 3. Mic mode not tested after the changes.
Self-plays wav files and does not need microphone or any special pulseaudio configuration. Mono files supported only for now.
To run this as a normal user and not root (to access pulseaudio easily), do the following:
sudo chmod a+rw /dev/mem
sudo setcap 'cap_sys_rawio+eip' /usr/bin/python3.7
!!! This does not improve your security as it practically grants root for all users !!!
This worked for me!!!