A Bitwig Grid walkthrough on building a self-retriggering looping envelope using logic comparators. The host works through the patch step by step, explaining the reasoning behind each connection so the logic is clear, not just the wiring.
The starting point is an AD envelope in loop mode. An Equals module detects when the envelope signal hits zero, and an AND gate combines that with the gate signal from a held note, so the retrigger only fires when both conditions are true at the same time.
Feedback routing requires a Long Delay module, which is a Grid rule for circular connections. An OR gate then merges the incoming note trigger with the feedback retrigger signal, so either a new note or the loop reaching its end can restart the envelope.
One subtle catch: if the gate signal into the OR stays high the whole time a note is held, the OR is always satisfied and never fires a fresh trigger. The fix is to shorten those gate signals to a brief pulse, which gives the OR a clean edge to respond to each time. With that in place, the envelope loops freely for as long as the note is held, with attack and decay times remaining fully adjustable.