Drum programming in software.
I've owned a software plugin called microtonic from SonicCharge for at least 15+ years; it allows you to program sequences, which can be assigned to parts, etc. and you can set what parts to play, in what order, and length of each part, and adjust the sound of each...