add timecat to parser

This commit is contained in:
Felix Roos 2022-02-10 08:30:18 +01:00
parent 40d4e138b7
commit ad777ed183
2 changed files with 24 additions and 2 deletions

View file

@ -7,8 +7,21 @@ import * as toneStuff from './tone';
import shapeshifter from './shapeshifter';
// even if some functions are not used, we need them to be available in eval
const { pure, stack, slowcat, fastcat, cat, sequence, polymeter, pm, polyrhythm, pr, /* reify, */ silence, Fraction } =
strudel;
const {
pure,
stack,
slowcat,
fastcat,
cat,
sequence,
polymeter,
pm,
polyrhythm,
pr,
/* reify, */ silence,
Fraction,
timeCat,
} = strudel;
const { autofilter, filter, gain } = toneStuff;
function reify(thing: any) {