Can a function "finish" to completion when in a chaser that advances?
Posted: Sun Mar 19, 2023 11:03 pm
I have a chaser, and inside it are two steps. Each step is a separate rgb matrix function. I have a wave moving down on the first column of my rgb matrix. One step is blue, the other is green.
Each step has an infinite hold, and a 200ms fade out. When the chaser step is advanced, the existing function (wave down) stops in its tracks, and fades out from that position, while the next step (wave down in the other color) begins.
What I am looking for / wondering if it is possible is to have the wave down function continue and finish to its completion (it is a single shot / no loop) even when the chaser step is advanced.
I want to be able to start multiple "wave down" functions/animations on a single column of my rgb matrix, without having each subsequent one interrupt the one already in progress.
Here is a video showing what I have now, where each time I click to advance the chaser step, it replaces the previous function. The fade out works- you can see the first color fade out as the 2nd one begins, but it fades out locked in position at the point when the chaser step was advanced. I want it to finish its wave down animation all the way to the bottom of the column, even as the 2nd animation is underway.
Is this even possible? Is a chaser the wrong tool here?
Ultimately, I'm trying to drive this with a midi note as the input trigger, so that is why I'm trying to use the chaser. So if I hit the correct key on my midi keyboard or edrum kit, wired up as the input for next cue on the chaser, I want to initiate an animation (wave down on column 1 in this example). But if I hit that same note quickly again, I don't want that to "interrupt" the current wave down, but instead start another. Is it not possible to have multiple animations run on the same part of the rgb matrix at once?
Thanks!
Each step has an infinite hold, and a 200ms fade out. When the chaser step is advanced, the existing function (wave down) stops in its tracks, and fades out from that position, while the next step (wave down in the other color) begins.
What I am looking for / wondering if it is possible is to have the wave down function continue and finish to its completion (it is a single shot / no loop) even when the chaser step is advanced.
I want to be able to start multiple "wave down" functions/animations on a single column of my rgb matrix, without having each subsequent one interrupt the one already in progress.
Here is a video showing what I have now, where each time I click to advance the chaser step, it replaces the previous function. The fade out works- you can see the first color fade out as the 2nd one begins, but it fades out locked in position at the point when the chaser step was advanced. I want it to finish its wave down animation all the way to the bottom of the column, even as the 2nd animation is underway.
Is this even possible? Is a chaser the wrong tool here?
Ultimately, I'm trying to drive this with a midi note as the input trigger, so that is why I'm trying to use the chaser. So if I hit the correct key on my midi keyboard or edrum kit, wired up as the input for next cue on the chaser, I want to initiate an animation (wave down on column 1 in this example). But if I hit that same note quickly again, I don't want that to "interrupt" the current wave down, but instead start another. Is it not possible to have multiple animations run on the same part of the rgb matrix at once?
Thanks!