Here’s a couple of approaches you could experiment with:
Fix the velocity at 127, use Delay and then Transform for 127/0 based on the delayed note velocity (eg 63-64, 31-32)
Use a 2-bar One Shot LFO (SawUp 180° phase) and Transform the time-values you want for 127/0
I mostly use the latter but, having said that, when I was developing a patch for successive DMX light phases, I used Note lengths cos I found them more accurateâ€
(so I was surprised by “the note-off triggers too soon” - would you upload the patch?)
†not LFO’s fault, it’s all about 127/128 bar!
This. If there’s no Clock, synced Note Length automatically adds a Note Off event, so make sure the Clocks are flowing. Use the MIDI monitor to know for sure.