mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -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 should this be pure?
|
||||
this._steps = steps;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user