mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 14:26:58 -04:00
allow changing cps from a hap
This commit is contained in:
@@ -20,6 +20,9 @@ export class Scheduler {
|
||||
this.phase = end;
|
||||
const haps = this.pattern.queryArc(begin, end);
|
||||
haps.forEach((e) => {
|
||||
if (typeof e.value?.cps === 'number') {
|
||||
this.setCps(e.value?.cps);
|
||||
}
|
||||
if (!e.part.begin.equals(e.whole.begin)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user