@ustk Turns out you're a genius and have already solved my problem 🥳:
https://forum.hise.audio/post/91573
Can replace the Sound Generator with a ScriptFX and use a midi container to get the gate information, tested and working in the compiled plugin.
Thank you very much ustk circa 2024 😂