home/ atoms/ tidal-polyrhythm-comma-syntax

Comma-separated patterns inside square brackets create polyrhythms in Tidal

In Tidal’s mini-notation, placing a comma between sub-patterns inside square brackets layers them so they play simultaneously but may have different step counts — producing a polyrhythm. [bd bd bd, sd cp sd cp] plays a three-step bd pattern and a four-step sd/cp pattern over the same cycle duration, so their periods do not align. Any number of patterns can be layered: [bd bd bd, sd cp sd cp, arpy arpy, odx]. The patterns can themselves contain groups, enabling complex multi-layered rhythms in a single d1 channel.

Examples

// 3-against-4 polyrhythm:
d1 $ sound "[bd bd bd, sd cp sd cp]"
// three simultaneous polyrhythms:
d1 $ sound "[bd bd bd, sd cp sd cp, arpy arpy, odx]"

Assessment

Create a Tidal pattern with exactly a 3-against-5 polyrhythm using comma syntax. Without running the code, mark where the two patterns coincide within one cycle.

“This would play the sequence bd bd bd at the same time as sd cp sd cp. Note that the first sequence only has three events, and the second one has four. Because tidal ensures both loops fit inside the same cyclic duration, you end up with a polyrhythm.”
corpus · tidalcycles-userbase-tutorial-community-function-by-function · chunk 1