Rock solid sync with Cubase (or Nuendo), using clock pulse instead of midi sync.
In this example the Expert Sleepers - SW Sync plugin is used, but you can use any equivalent sync pulse generator or audio pulse track as source.
Beats midi sync night and day 24/7
Same method for:
Hope this helps, let me know if you have any questions.