add xen package

This commit is contained in:
Felix Roos 2022-03-25 22:39:03 +01:00
parent 9458faf5b0
commit e1bb58fb06
6 changed files with 46 additions and 671 deletions

View file

@ -1,7 +1,7 @@
import { Pattern } from '@strudel/core/strudel.mjs';
import { mod } from '../../packages/core/util.mjs';
function edo(name) {
export function edo(name) {
if (!/^[1-9]+[0-9]*edo$/.test(name)) {
throw new Error('not an edo scale: "' + name + '"');
}