scramble

Slices a pattern into the given number of parts, then plays those parts at random. Similar to shuffle, but parts might be played more than once, or not at all, per cycle.

note("c d e f").sound("piano").scramble(4)
seq("c d e f".scramble(4), "g").note().sound("piano")