mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-27 23:38:49 -04:00
add _processParts()
This commit is contained in:
@@ -62,7 +62,12 @@ export class Pattern {
|
||||
this.__steps = steps === undefined ? undefined : Fraction(steps);
|
||||
}
|
||||
|
||||
_processParts() {
|
||||
return this.withHap((hap) => hap.withContext((c) => ({ ...c, processParts: true })));
|
||||
}
|
||||
|
||||
setSteps(steps) {
|
||||
// TODO shouldn't this be pure and return a new pattern?
|
||||
this._steps = steps;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user