RGB matrix scripts for Master Dimmer
Posted: Tue Sep 04, 2018 11:52 am
..and hello again!
I've just started looking at RGB matrixes and soon enough found a way that I can run a "blank" matrix (meaning with no colors pre-programmed) so I am able to use my MIDI-pad to decide what colours to use in the matrix while playing. The problem is the fading, the way I do it plays the lights in order but the respective lights play with the dimmer on 100%.
So, I wanted to re-write some of the RGB scripts so they would affect only the dimmer channel instead of the rgb channels and wanted to ask for some help with this as I don't know Javascript. I guess it might be possible to change the "rgbMap" line to something else, or if needed to add another Pattern Blend Mode option where the user could choose "Dimmer".
This might be a lot of work, I really do not have a clue what it would take and I don't really like asking others to do things for me, but if someone could somehow provide a hint in the right direction that would be great.
I've just started looking at RGB matrixes and soon enough found a way that I can run a "blank" matrix (meaning with no colors pre-programmed) so I am able to use my MIDI-pad to decide what colours to use in the matrix while playing. The problem is the fading, the way I do it plays the lights in order but the respective lights play with the dimmer on 100%.
So, I wanted to re-write some of the RGB scripts so they would affect only the dimmer channel instead of the rgb channels and wanted to ask for some help with this as I don't know Javascript. I guess it might be possible to change the "rgbMap" line to something else, or if needed to add another Pattern Blend Mode option where the user could choose "Dimmer".
This might be a lot of work, I really do not have a clue what it would take and I don't really like asking others to do things for me, but if someone could somehow provide a hint in the right direction that would be great.