Someone wanted to learn this too, so Grasp built them a personal learning path.
You can keep exploring this one or create your own
Live music Coding
Recommended resources
The freely available resources this course will direct you to.
Module 1
Foundations of Tidal Cycles
Module 2
Layering and Shaping Rhythms
Module 3
Melody, Harmony, and Structure
Module 4