Raspberry pi Project Piano Led Strips lightshow

March 9, 2023, 18:29

n___2008

I want to make a LED strip working that when I press a key on the Piano, the LED there shine up. I have everything set up and the LED's are working (WS2812B) So i just have to find someone to help me "program" it I think? If anyone can help pls here! Thanks 😉

andy_s

it is done by connecting controller to midi interface of your keyboard and then translating midi commands to addressable LED strip.

andy_s

https ://www.reddit.com/r/arduino/comments/px01ox/midicontrolled_led_strip_on_keyboard_ws2812b/

n___2008

Do you have any application that translates midi to adress LED strip?

andy_s

i just sent you a link

n___2008

What is that Arduino thing

n___2008

I don't find it as application

andy_s

what application. Arduino is hardware.

n___2008

I have a raspberry pi as you see on the title...

andy_s

well... would you fly a jumbo jet to a mall?

n___2008

What?

n___2008

Bro there is a way.

n___2008

Because if you see all the viedeos they do it with a raspberry pi.

n___2008

I just need a application that translates midi to an adress when the LED should light up

n___2008

So no answer?

andy_s

well, as i said. using cannon for killing a mosquito works, but is overkill AF.

andy_s

esp8266 boots within 2-3 seconds.

andy_s

pi boots for over a minute.

n___2008

Bro I am a Noob I can't do anything with this information this

n___2008

is my first time using a raspberry pi

n___2008

I don't know how this all work

andy_s

Wrong window, sry

andy_s

thing is... you power up your piano. pi would start to boot.

andy_s

and will boot for another minute.

andy_s

you can play instantly, however pi wont do anything.

andy_s

and it can freeze at any time. It is not realtime system.

andy_s

meanwhile using ESP8266 as i sent you that guide, you will get near instantenous boot and if it gets stuck, it reboots within few seconds.

andy_s

as it does not (need to) load any OS.

andy_s

and mainly, price of pi? can go up to 200 bucks.

andy_s

price of esp? $2.

andy_s

that is just a library. He begs for finished product.

andy_s

when you give one to him, he is unhappy

actuallytomato

i think they’re just looking for a solution that he can use with his existing hardware

andy_s

as i said, he might be owner of jumbo jet, and still not use it for mall shopping ...

andy_s

sure, you can in theory taxi on the road, would be cumbersome and take ages to maneuver

andy_s

and you may crash into something

andy_s

meanwhile you can use regular car, be there in fraction of the time without any hassle.

andy_s

sure, you may need to buy new car if you do not have one, but if you are rich enough to buy jumbo, you can afford a car.

oops.se

Perhaps this meets your needs, but it looks a bit complex. https://github.com/onlaj/Piano-LED-Visualizer

oops.se

<@456538086453805068>If you cant answer the question, why continue? To propose to use another hardware isn't an answer! And your reasoning with Jumbo jet and cars is just so full of flaws.

andy_s

no, it is not.

andy_s

jumbo: fast, pricey, takes ages to start.

andy_s

car: slower, cheap, starts instantly (compared to other option)

andy_s

there is a BIG difference, if you get system running in 2s or 60.

andy_s

there is BIG difference, if your system costs $5 or $200.

oops.se

Yes the cost is zero for the Raspberry Pi that the OP has, you assume that the Raspberry Pi starts when the piano starts. And a Arduino is a steeper learning curve for someone that hasnt been programing before!

andy_s

so you think he will powerup pi, wait 1-2 minutes for it to finish booting, then power up piano?

andy_s

arduino is a steeper learning curve? Really? Just upload a binary?

andy_s

if that person can manage to flash an SD card for pi, that person can manage to flash arduino.

.mrlunk

https://github.com/aaron64/py-lights https ://www.reddit.com/r/raspberry_pi/comments/bali6j/seizure_warning_connected_my_midi_keyboard_to/

.mrlunk

😉

andy_s

<@148902538119217161> he needs addressable LEDs, not "dumb" strips