scottlawsonbc / audio-reactive-led-strip

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

Multiple strips with different lengths #275

Closed martenumberto closed 3 years ago

martenumberto commented 4 years ago

Hello.

I want to run more than one stripe. I want to connect them in series so that there is no address issue. Can I tell the software that Led 1-35 is Stripe 1, LED 36-100 Stripe 2 and LED 100-180 Stripe 3? The issue is that the scaling is different when i connect them in parallel due to dubble addresses.

Thx :)

joeybab3 commented 4 years ago

I'm not sure what you're asking here. Do you want to run multiple strips that are showing the same data?

jbonnett92 commented 4 years ago

@joeybab3 I would like the ability to add more than one strip too, so assign more than one GPIO. Also split the LED pixels into groups, say strip 1 (300 pixels) only selecting the last 50 and selecting 50 from strip 2 adding an effect based on a different frequency.

joeybab3 commented 4 years ago

@joeybab3 I would like the ability to add more than one strip too, so assign more than one GPIO. Also split the LED pixels into groups, say strip 1 (300 pixels) only selecting the last 50 and selecting 50 from strip 2 adding an effect based on a different frequency.

@jbonnett92 You can do that relatively easily in the arduino sketch by adding a check for the index of the pixel in the main loop

jbonnett92 commented 4 years ago

@joeybab3 Arduino sketch? I'm not using the ESP8266.

joeybab3 commented 4 years ago

@jbonnett92 Then change it in the python script, I do not have a pi so I am unable to help with that part