separate out strudel.mjs, make index.mjs aggregate module

This commit is contained in:
alex 2022-04-13 17:25:02 +01:00
parent 0396c3f475
commit f75da0e2e3
21 changed files with 296 additions and 329 deletions

View file

@ -1,6 +1,5 @@
import { Note, Interval, Scale } from '@tonaljs/tonal';
import { Pattern } from '@strudel.cycles/core';
import { mod } from '@strudel.cycles/core/util.mjs';
import { Pattern, mod } from '@strudel.cycles/core';
// transpose note inside scale by offset steps
// function scaleTranspose(scale: string, offset: number, note: string) {