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

File diff suppressed because it is too large Load Diff

View File

@ -26,6 +26,7 @@
"homepage": "https://github.com/tidalcycles/strudel#readme",
"dependencies": {
"@strudel.cycles/core": "^0.0.1",
"@tonaljs/tonal": "^4.6.5"
"@tonaljs/tonal": "^4.6.5",
"webmidi": "^3.0.15"
}
}

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) {