Small midi timing issue on Windows 11 with DirectSound

I’ve attached a demo song. Just play it through all 4 patterm’s. When it jumps back to the first pattern, its missing the timing of one of the notes. Only happens with Directsound driver. ASIO and WASAPI are working fine or its atleast not reproducible with this test song.

VST Cthulu is needed.

Audio settings:
image

midi_timming.xrns (7.3 KB)