shrink

Experimental

Progressively shrinks the pattern by 'n' steps until there's nothing left, or if a second value is given (using mininotation list syntax with :), that number of times. A positive number will progressively drop steps from the start of a pattern, and a negative number from the end.

"tha dhi thom nam".shrink("1").sound()
.bank("mridangam")
"tha dhi thom nam".shrink("-1").sound()
.bank("mridangam")
"tha dhi thom nam".shrink("1 -1").sound().bank("mridangam").pace(4)
note("0 1 2 3 4 5 6 7".scale("C:ritusen")).sound("folkharp")
.shrink("1 -1").pace(8)
returns