This commit is contained in:
Felix Roos 2022-03-17 15:05:01 +01:00
parent 91c0a46ba9
commit 15e49952f9
12 changed files with 253 additions and 44 deletions

2
docs/dist/parse.js vendored
View file

@ -12,6 +12,8 @@ const applyOptions = (parent) => (pat, i) => {
case "stretch":
const speed = new Fraction(operator.arguments_.amount).inverse().valueOf();
return reify(pat).fast(speed);
case "bjorklund":
return pat.euclid(operator.arguments_.pulse, operator.arguments_.step, operator.arguments_.rotation);
}
console.warn(`operator "${operator.type_}" not implemented`);
}