add missing dependency

This commit is contained in:
Felix Roos 2022-03-27 23:43:06 +02:00
parent 9ef57152e4
commit 33c9326427
3 changed files with 2282 additions and 5 deletions

View file

@ -1,9 +1,7 @@
import { Note, Interval, Scale } from '@tonaljs/tonal';
import { Pattern as _Pattern } from '@strudel.cycles/core/strudel.mjs';
import { Pattern } from '@strudel.cycles/core';
import { mod } from '@strudel.cycles/core/util.mjs';
const Pattern = _Pattern; // as any;
// transpose note inside scale by offset steps
// function scaleTranspose(scale: string, offset: number, note: string) {
export function scaleTranspose(scale, offset, note) {