segfault16 / modular-led-controller-workstation

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
23 stars 9 forks source link

LED output breaks for non-USB audio devices #33

Open segfault16 opened 5 years ago

segfault16 commented 5 years ago

Audio input from PCM or loopback breaks LED output when using GPIO 18. See here for explanation: https://github.com/jgarff/rpi_ws281x. Solution for now is to use a USB audio device.

ChasonDeshotel commented 5 years ago

One could also get around this by using SPI on the Raspberry Pi to drive APA102s

segfault16 commented 5 years ago

Good hint @ChasonDeshotel. I think this should also be possible for WS281x LED's which we're using. Right now I'm looking into integrating the Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface in order to drive a large amount of LED's. From the processing side we can easily establish 100 FPS for > 6000 LEDs on RaspberryPi 3, however the bottleneck right now is the single GPIO which results in 30 FPS @ 1000 LED's.