VST3 plugin sequencer for drums or synths

Has anyone had any success in writing those? I’m fiddling with it but the sequence is a little off the beat.