fix striate: union -> set

This commit is contained in:
alex 2022-04-22 12:07:23 +01:00
parent c305e82f5c
commit 8e441ecb19
2 changed files with 9 additions and 1 deletions

View file

@ -499,7 +499,7 @@ export class Pattern {
const slices = Array.from({ length: n }, (x, i) => i);
const slice_objects = slices.map((i) => ({ begin: i / n, end: (i + 1) / n }));
const slicePat = slowcat(...slice_objects);
return this.union(slicePat)._fast(n);
return this.set(slicePat)._fast(n);
}
// cpm = cycles per minute