@liminal-hq/undertone / arrange
Function: arrange()
arrange<
T>(...sections):Pattern<T>
Defined in: pattern.ts:658
Plays each pattern for its own span of whole cycles, in order, looping the whole arrangement once the total cycle count is reached — the backbone of a multi-section song (arrange([8, intro], [16, verse], [8, outro])). Each section's pattern experiences its own cycles starting at 0 whenever its span begins, so <a b c> inside a section always opens on a no matter where that section falls within the overall arrangement.
Type Parameters
T
T
Parameters
sections
...[number, Pattern<T>][]
Returns
Pattern<T>