Escapement
A clock’s escapement as a drum. The pendulum’s pallets catch and release a toothed wheel — the tick and the tock — while hammers off every 3rd, 5th and 7th tooth interlock a polyrhythm on top. Tilt to change the gravity on the pendulum and the whole mechanism runs faster or slower.
Press start, then tilt your device — forward runs it fast, back slows it down. On iPhone this asks for motion access. No sensor? Drag on the mechanism, or watch the seeded auto-conductor run it.