Need help creating a custom osc target

Thanks a lot for you insights! I shared my code here.

About that note_off thing, that's the conclusion I came to - tidal and renoise are very different in that regard. So far I found ways to mitigate the problem with some instrument parameters on renoise's side. It's not perfect but it does the job.