Page 1 of 1

[Help] Custom Patch - Logic Constraints

Posted: Tue Aug 26, 2025 06:04
by madebyxmra
Hey all! I'm having some issues creating some logic in my Resolume Wire patch:

I'm attempting to create a constraint where an effect / trigger can't be retriggered until the effect fully completes.

I've attempted multiple versions with logic nodes such as gates and holds, but found no success. I've gotten as far as creating the logic with a workaround using timelines (specifically the play and rewind), but I'm fairly certain this isn't the most optimal solution. Maybe someone has accomplished this before or knows a better way to do so? Any info would be greatly appreciated! :D

Re: [Help] Custom Patch - Logic Constraints

Posted: Tue Aug 26, 2025 06:08
by madebyxmra
In this case, I'm making a strobe flash effect, that fades out smoothly. I was able to create this strobe flash effect, but the only way I was able to figure out how to stop the effect from being triggered again while active is running it through the timeline (using the play button, as it doesn't replay unless rewound).

This is also problematic as it logically starts from a value of 1 > 0, then jumps back to 1 when rewound. I'd like a way to have the initial value of 0, and when triggered sets the value to move from 1 > 0, staying at 0 when completed. :|

Visually the ADSR envelope would look like this.
Screenshot 2025-08-26 111904.png

Re: [Help] Custom Patch - Logic Constraints

Posted: Thu Aug 28, 2025 16:41
by madebyxmra
Sharing this example so that others may have a workaround - this effectively does what I would like it to do, albeit a bit clunky. I still believe there has to be a more optimal solution to this! :|
Timeline_Logic.wire
(8.39 KiB) Downloaded 12 times

Re: [Help] Custom Patch - Logic Constraints

Posted: Fri Aug 29, 2025 04:03
by moldybeats
What about something like this? This uses a Toggle node that gets set to True when the trigger fires, and False when the timeline ends. The On Change node basically ignores any triggers that occur while the timeline is playing. And the If node triggers Restart if a trigger does pass, so the timeline always starts at the beginning.

Still feels like there's a simpler way to get at it, but that's the best I can do. :D
TriggerTest.wire
(7.27 KiB) Downloaded 10 times
TriggerTest.png

Re: [Help] Custom Patch - Logic Constraints

Posted: Fri Aug 29, 2025 18:33
by madebyxmra
moldybeats wrote: Fri Aug 29, 2025 04:03 What about something like this? This uses a Toggle node that gets set to True when the trigger fires, and False when the timeline ends. The On Change node basically ignores any triggers that occur while the timeline is playing. And the If node triggers Restart if a trigger does pass, so the timeline always starts at the beginning.

Still feels like there's a simpler way to get at it, but that's the best I can do. :D

TriggerTest.wire

TriggerTest.png
Thanks for sharing and taking the time to reply - this is a good workaround. You're right though, surely there's a more optimal way to do this. I'm a hoping a dev can chime in and maybe let us know.

I'm going to leave this here for others to reference:
TriggerTest_2.wire
(13.13 KiB) Downloaded 13 times