How does this beat work?

Questions about producing? Ask them here.
There's a certain catchy beat pattern I found recurring in some popular songs, and I'm not sure how to replicate it.
https://youtu.be/nj-AZyK85yM?t=100 (timestamped link, volume warning) leads to just before this beat plays.
I am talking about the first beat thing which comes up at the beat drop right after the timestamp the link points to. It sounds like a series of notes on the piano roll of a drum instrument played in very quick succession, but when I try to replicate it, it simply sounds like a kick drum is being violently thrown on a rock.
Can someone show how this pattern would be replicated on a piano roll of a drum instrument?
Another more well known example (and I apologize about the lyrics, but this was the most obvious example I could find):
https://youtu.be/IBpLCOdAxm4?t=65 (timestamped link)
This beat pattern plays twice in the first line, on 'by' and 'the' with a pause in between.
Monospace wrote:
Fri May 21, 2021 11:40 am
There's a certain catchy beat pattern
I believe you are talking about the 'machine-gun' like tatatatatatatatatata ..?
That is extremely fast closed highhat, and it is very common in rap /hiphop
Try 1/192 notes and build a ~ 1/4 note long sequence of that
Its fidly to work with so short notes, but if you magnify 400% its not a problem :)
Thanks for specifying, musikbear- I got something that sounds slightly off quality-wise but about right. I didn't know it was a closed hihat. Now I know why it sounded odd when I tried using the kicker.
And if you want to get creative, according to how you place the notes in the piano roll, you can make all sorts of creative build ups too. :)