add _processParts()
This commit is contained in:
parent
ccb5ec1685
commit
39e2221c29
1 changed files with 5 additions and 0 deletions
|
|
@ -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 should this be pure?
|
||||
this._steps = steps;
|
||||
return this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue