https://soundcloud.com/kindohm/d-code
This is a de-construction of the above linked track and how it was composed and built with TidalCycles.
The real crux of this track and how it is composed in code depends on kick/snare pairs, located in the name
sample folder. This is really the important part. You have to know how that folder is structured before digging into the code: