RGB Matrix Fade In Timing
Posted: Wed May 11, 2016 12:54 am
Hey All,
First time using QLC+, and think it is great. It is just want I need for a project I'm working that will be ~1,500 pixels of RGB LED.
The issue I am having is with the 'Fade In' properties for a majority of the built-in patters for the RGB Matrix functions in 4.10.3a. Using the Fill Unfill pattern as our test patter, made up of a 1x# or #x1 array of LEDS. Fade-In = 0ms, Fade-Out = 0ms, Hold = 1ms.
Example 1) This functions exactly as you would expect, the first pixel turns on instantly, and promptly afterwards the 2nd pixel turns on instantly, followed by the 3rd until the end of the Matrix is illuminated. Once that point is reached, the 1st pixel turns off instantly, followed promptly by the second, and so on, the opposite of the turn on sequence.
Example 2) Changing the value for Fade-Out to 250ms, functions as I would expect. The pixels turn on exactly as before, once the matrix is illuminated the first pixel begins its 250ms fade out. 1ms after the fade out STARTS for pixel 1, the second pixel starts its fade out, and so on. Simplified to say, the fade out for each pixel starts at the same rate as it did in example 1.
Example 3) Keep Fade-Out set to 250ms, and increase Fade-In to 1s. Pixel 1 takes 1s to fade-in, once the fade is complete, Pixel 2 starts its 1s fade-in and so on. During the fade-out process, Pixel 1 starts its 250ms fade out, once it is complete there is a delay of approximately 750ms before pixel 2 starts its 250ms fade out and so on. The behavior I expected would be something similar to example 2, where the fade-ins start 1ms apart from each other, but each pixel takes 1s to fade in, and the fade-out behavior would be that of example 2.
This seems to be the behavior for most of the 'sequential pixel' patters, as I have no problem with the Even/Odd pattern, but that may be because it is a 2-step sequence.
Using the 'save this matrix to a sequence' may add some information:
Example 2 has Fade-In, Hold, Fade-Out, and Duration as follows, (null, 1ms, 250ms, 1ms); Example 1 is (1s, 1ms, 250ms, 1s1ms)
Should the duration should still be 1ms for the 'sequence version' of example 1?
Hope this all makes sense, please ask any questions if my examples/explanations aren't clear. I'm open to any suggestions to try and get the fade-ins to function properly.
Thank you
First time using QLC+, and think it is great. It is just want I need for a project I'm working that will be ~1,500 pixels of RGB LED.
The issue I am having is with the 'Fade In' properties for a majority of the built-in patters for the RGB Matrix functions in 4.10.3a. Using the Fill Unfill pattern as our test patter, made up of a 1x# or #x1 array of LEDS. Fade-In = 0ms, Fade-Out = 0ms, Hold = 1ms.
Example 1) This functions exactly as you would expect, the first pixel turns on instantly, and promptly afterwards the 2nd pixel turns on instantly, followed by the 3rd until the end of the Matrix is illuminated. Once that point is reached, the 1st pixel turns off instantly, followed promptly by the second, and so on, the opposite of the turn on sequence.
Example 2) Changing the value for Fade-Out to 250ms, functions as I would expect. The pixels turn on exactly as before, once the matrix is illuminated the first pixel begins its 250ms fade out. 1ms after the fade out STARTS for pixel 1, the second pixel starts its fade out, and so on. Simplified to say, the fade out for each pixel starts at the same rate as it did in example 1.
Example 3) Keep Fade-Out set to 250ms, and increase Fade-In to 1s. Pixel 1 takes 1s to fade-in, once the fade is complete, Pixel 2 starts its 1s fade-in and so on. During the fade-out process, Pixel 1 starts its 250ms fade out, once it is complete there is a delay of approximately 750ms before pixel 2 starts its 250ms fade out and so on. The behavior I expected would be something similar to example 2, where the fade-ins start 1ms apart from each other, but each pixel takes 1s to fade in, and the fade-out behavior would be that of example 2.
This seems to be the behavior for most of the 'sequential pixel' patters, as I have no problem with the Even/Odd pattern, but that may be because it is a 2-step sequence.
Using the 'save this matrix to a sequence' may add some information:
Example 2 has Fade-In, Hold, Fade-Out, and Duration as follows, (null, 1ms, 250ms, 1ms); Example 1 is (1s, 1ms, 250ms, 1s1ms)
Should the duration should still be 1ms for the 'sequence version' of example 1?
Hope this all makes sense, please ask any questions if my examples/explanations aren't clear. I'm open to any suggestions to try and get the fade-ins to function properly.
Thank you