Another rub-a-dub lesson— getting as much of this in as I can before the end of the year, so there's a robust section on it in the upcoming 2018 Book of the Blog. This page is based on Doxy, a tune that should be familiar to everyone studying jazz.
I've done two different versions; the first sticks as close as possible to the basic rub-a-dub pattern all the way through. There are a couple of small deviations, but it's remarkable how well simply playing the pattern fits the tune. The second version starts on a different inversion of the basic pattern, and the pattern is changed more to fit the tune musically. The straight pattern may work surprisingly well, but it can sound a little formulaic if it's not broken up.
The stems-up part is the drum exercise, and the stems-down part is the rhythm of the tune:
Swing the 8th notes, of course. After you can play the exercises as written, you can begin moving your left hand to the tom toms, as well as any right hand notes that don't have a bass drum in unison. You could also omit any bass drum notes that are not in unison with a melody note, and move all of those right hand notes around the drums.
Here's a familiar lead sheet for Doxy:
Reminder: While it may come in handy for soloing over this form, and for playing some parts of the tune, this is not a lesson for how to play Doxy. You have to listen to recordings for that. What we're doing is learning to use this drumming pattern to set up and accompany normal jazz rhythms, of which this tune is a good example.
Get the pdf
Here is a practice loop for working on this, sampled from the Miles Davis album Bags' Groove. It includes the head of the tune plus one chorus of Miles's solo: