GP / Kontakt Tempo Sync Question

I am using the GP midi sequencer to play some tracks. I’m also playing an external controller to trigger drum sounds in Kontakt. In kontakt, theres a hihat loop that I’m triggering when I press a drum pad. Kontakt and its loops are syncing fine to GPs tempo. But if I press the loop-pad a little late, it is out of sync with the GP midi sequence. For example, if I were to press the pad exactly 1/32 note late, the loop would be technically in tempo, but consistently 1/32 note behind the GP midi sequence.

Is there a way to to automatically lock the Kontakt loop to the GP grid, where if I make an error and hit the pad a little behind, it automatically adjusts to the nearest 1/4 or 1/16th note?.

thanks very much

With some scripting you can make it so the trigger will happen on a beat.
Here’s an example, where activating a widget will wait until the next beat before printing a message.

Var
   bttn : Widget
   bttnvalue : Double

On BeatChanged(bar : integer, beat : integer)
    bttnvalue = GetWidgetValue(bttn)
        If bttnvalue > 0 then Print("Start HiHat")
        SetWidgetValue(bttn,0)
        End
End
1 Like

Anyone know how to script something similar to quantize note-on messages?

Take a look at this post