onlaj / Piano-LED-Visualizer

Piano LED Visualizer: Connect an LED strip to your Raspberry Pi and create an immersive visual experience for your piano playing
MIT License
531 stars 112 forks source link

How does the "LED offset settings" work ?? #465

Open AL1-1956 opened 1 year ago

AL1-1956 commented 1 year ago

Hello I have a 176 LEDS/meter connected to the RPI and the second LED is perfectly aligned with the first note of my 88 keys keyboard And every even LED is OK for the 70 first ones but then instead of the 72 one been lighted it's the 71 wich is lighted so there is now a mismatch. I tried to modify the LED offset settings , but as i do not fully understand how it works . So a little explanation will be greatly appreciated is the offset about the LED number or the Key number ? is it possible to input negative offsets ? I tried a few things but the results are quite odd (same LED for two different keys , LEDS not switching down when key released...) Thank You and have a great day

Alain

onlaj commented 1 year ago

Hello. You can find explanation here: https://github.com/onlaj/Piano-LED-Visualizer/blob/master/Docs/features.md#led-notes-offset It means that after the light number 55 the lights will be shifted by 1, for numbers bigger than 92 the shift will be equal to 2. I will try to move it to somewhere more obvious and explain better.