dancyPi-audio-reactive-led icon indicating copy to clipboard operation
dancyPi-audio-reactive-led copied to clipboard

Audio player mode

Open lassi-niemisto opened this issue 3 years ago • 1 comments

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 !!!

lassi-niemisto avatar Jun 28 '21 13:06 lassi-niemisto

This worked for me!!!

raymondjacobson avatar Dec 04 '21 23:12 raymondjacobson