Piano-LED-Visualizer icon indicating copy to clipboard operation
Piano-LED-Visualizer copied to clipboard

Led lights are not lighting up when keys are pressed

Open clancel opened this issue 2 years ago • 12 comments

Hi. Since last night, led lights stopped lighting up when I pressed the key. I checked wires and the animation setting and everything was fine. I haven't had this issue for a year so why is this happening now. Would you be able to help me on this? I look forward to your reply.

Regards, Kim

clancel avatar Jan 22 '23 12:01 clancel

Hello. A few things I would check: When you run the animation, is the LED strip lighting up at all? Is your piano being detected under the ports list? Try connecting your piano to another device, like your computer, to see if it's being detected there.

onlaj avatar Jan 22 '23 14:01 onlaj

Hi. Thank you for your reply. Yes, the led strip is lighting up when I run the animation. Also, the piano is being detected under the ports list as well as my laptop when connected.

clancel avatar Jan 22 '23 15:01 clancel

Do you use web interface? Under ports there should be "midi logging" section. After enabling it should display all messages from your piano. Does it show anything when you play? There is also https://github.com/onlaj/Piano-LED-Visualizer/blob/master/tests/printmidimessages.py test file, you can use it to print all messages in console. If you can SSH into you RPi, turn off Visualizer with sudo service visualizer stop and then try to run it with sudo python3 /home/Piano-LED-Visualizer/tests/printmidimessages.py

onlaj avatar Jan 22 '23 16:01 onlaj

Hi. I initially used a terminal from my Mac OS to SSH into Pi. But that was done a year ago and I haven't had to use it since. Now that the I'm having an issue, I guess I need to use the terminal again. If you can clarify what a web interface is and how I can locate the ports, that will be great. Thanks for your quick reply.

clancel avatar Jan 22 '23 17:01 clancel

Good news. The lights are back on. I clicked update the visualizer and rebooted and the lights came back. Hopefully, the lights will stay working. Never knew that updating and rebooting would solve this issue. I now need to find out how to make the purple color more purple and orange lights more orange. Currently, the purple looks more like pink and orange looks more like yellow.

clancel avatar Jan 22 '23 19:01 clancel

I forgot to ask you if it's necessary to update the visualizer. If yes, how often should you update it?

clancel avatar Jan 22 '23 22:01 clancel

Only when I release new image . I try to do it after introducing some major changes and fixes.

onlaj avatar Jan 22 '23 22:01 onlaj

Yes, newest version is very laggy. I had to clone to older version. How to check which version is on? Thanks... so you guys know which one works for me.

r0bvas avatar Sep 05 '23 21:09 r0bvas

@r0bvas in other thread you said that screen stays white. So it works on 1.4 but with white screen? And what do you mean by laggy?

onlaj avatar Sep 05 '23 21:09 onlaj

ok, 2 things:

I have working version that is very stable, unfortunately I do not know how to check what version it is. It doesn't show on web interface.

I tried to flash new system with 1.4, but it wasn't working at all. I only got white screen. I was able to locate it via "Fing" software and it looked like it had an ip. But I couldn't connect it.

I also tried to "update " via web interface from my stable version and that gave me "wi-fi" option on the web interface. But the MIDI was very laggy so , I couldn't use that one and had to "clone" back to previous stable version that I still have .

r0bvas avatar Sep 06 '23 15:09 r0bvas

You can always try manual installation. There is also autoinstall script which does everything for you (not fully tested, errors can happen).

onlaj avatar Sep 06 '23 15:09 onlaj

No worries! take your time with 1.5. Thank you so much for all you do!

r0bvas avatar Sep 06 '23 16:09 r0bvas