ribbon
  1. offset
  2. cycles

Loops the pattern inside an offset for cycles. If you think of the entire span of time in cycles as a ribbon, you can cut a single piece and loop it.

note("<c d e f>").ribbon(1, 2)
// Looping a portion of randomness
n(irand(8).segment(4)).scale("c:pentatonic").ribbon(1337, 2)
// rhythm generator
s("bd!16?").ribbon(29,.5)

aliases: rib()

parametertype
offset
  • number
start point of loop in cycles
cycles
  • number
loop length in cycles