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

How do you assign a color of your choosing to a scale?

Open clancel opened this issue 4 years ago • 12 comments

Hi. I wish to assign individual colors to a 7-note scale that can be looped throughout the keyboard. For instance,

C= Red D=Yellow E=Green F=Blue G=Pink A=White B=Orange

I guess I would also have to assign the sharps such as C#, Bb, etc.

I know that I have to choose the rainbow option in order to achieve this. Can you help me? Thank you so much.

clancel avatar Dec 11 '21 17:12 clancel

You need to use multicolor mode, just set a color for each key. There is no support for coloring specific key in scale yet.

onlaj avatar Dec 11 '21 17:12 onlaj

How do I set a color for each key? After selecting multicolor mode, I'm shown the following,

color1 color2 color3 and so on...

When I select color1, it gives me 3 options which are,

RGB Color1 Key range1 Delete

I'm not sure which option I need to select in order to choose a color. Also, does color1 mean C?

clancel avatar Dec 11 '21 17:12 clancel

You go yo Key range1 and set a range, for example: Start: 50 End: 50 In RGB Color1 you set a color. You do it for every key. I recommend using web interface for that.

onlaj avatar Dec 11 '21 17:12 onlaj

Web interface? How do I get to the web interface?

clancel avatar Dec 11 '21 18:12 clancel

https://github.com/onlaj/Piano-LED-Visualizer#web-interface

onlaj avatar Dec 11 '21 18:12 onlaj

Thank you for the link. I connected to the web interface but I see blank pages with menu on the left sidebar only.

clancel avatar Dec 11 '21 19:12 clancel

Can you make a screenshot?

onlaj avatar Dec 11 '21 19:12 onlaj

Hi. Here's a screenshot.

https://paste.pics/FAV2K

clancel avatar Dec 11 '21 20:12 clancel

This is really weird. Can you open development tools (F12), then "network" tab and then click on some page in the menu. Make a screenshot of both page and console.

onlaj avatar Dec 11 '21 21:12 onlaj

When I typed the address in the browser, nothing is showing. Before, it at least showed the interface with menu only, but now it's not even connecting or loading the page.

clancel avatar Dec 11 '21 21:12 clancel

Hi. I am now able to access the menu contents in the web interface. Here's a screenshot of the led settings,

https://paste.pics/633c826e847133ec6e8e18d5f4bf1fcb

I adjusted the colors directly on the pi visualizer menu yesterday, so the adjusted colors are shown here on the interface. It seems like the same note keeps changing to different colors when hit. I would like the color to remain the same when hit again. How can I achieve this? Also, where is the key range1 option in the interface?

clancel avatar Dec 12 '21 13:12 clancel

I would like the color to remain the same when hit again. How can I achieve this?

Set range for all colors, so they don't interfere.

Also, where is the key range1 option in the interface?

It's the slider under color selection.

onlaj avatar Dec 12 '21 14:12 onlaj