Note:

Build Rhythms

From a simple to a complex rhythm

Simple bass drum - snare:

s("bd sd").slow(2)

Let’s pick a different snare sample:

s("bd sd:3").slow(2)

Now, we are going to change the rhythm:

s("bd*2 [~ sd:3]").slow(2)

And add some toms:

s("bd*2 [[~ lt] sd:3] lt:1 [ht mt*2]").slow(2)

Start to transform, shift a quarter cycle every other cycle:

s("bd*2 [[~ lt] sd:3] lt:1 [ht mt*2]")
.every(2, early(.25)).slow(2)

Pattern the shift amount:

s("bd*2 [[~ lt] sd:3] lt:1 [ht mt*2]")
.every(2, early("<.25 .125 .5>")).slow(2)

Add some patterned effects:

s("bd*2 [[~ lt] sd:3] lt:1 [ht mt*2]")
.every(2, early("<.25 .125 .5>"))
.shape("<0 .5 .3>")
.room(saw.range(0,.2).slow(4))
.slow(2)

More transformation:

s("bd*2 [[~ lt] sd:3] lt:1 [ht mt*2]")
.every(2, early("<.25 .125 .5>"))
.shape("<0 .5 .3>")
.room(saw.range(0,.2).slow(4))
.jux(id, rev, x=>x.speed(2))
.slow(2)

Another rhythmic construction

Let’s start with a sequence:

n("0 0 [2 0] [2 3]").s("feel").speed(1.5).slow(2)

We add a bit of flavour:

n("0 <0 4> [2 0] [2 3]").s("feel").speed(1.5).slow(2)

Swap the samples round every other cycle:

TODO: implement rot