add missing dependency
This commit is contained in:
parent
9ef57152e4
commit
33c9326427
3 changed files with 2282 additions and 5 deletions
2280
packages/tonal/package-lock.json
generated
2280
packages/tonal/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -26,6 +26,7 @@
|
||||||
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
"homepage": "https://github.com/tidalcycles/strudel#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@strudel.cycles/core": "^0.0.1",
|
"@strudel.cycles/core": "^0.0.1",
|
||||||
"@tonaljs/tonal": "^4.6.5"
|
"@tonaljs/tonal": "^4.6.5",
|
||||||
|
"webmidi": "^3.0.15"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
import { Note, Interval, Scale } from '@tonaljs/tonal';
|
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';
|
import { mod } from '@strudel.cycles/core/util.mjs';
|
||||||
|
|
||||||
const Pattern = _Pattern; // as any;
|
|
||||||
|
|
||||||
// transpose note inside scale by offset steps
|
// transpose note inside scale by offset steps
|
||||||
// function scaleTranspose(scale: string, offset: number, note: string) {
|
// function scaleTranspose(scale: string, offset: number, note: string) {
|
||||||
export function scaleTranspose(scale, offset, note) {
|
export function scaleTranspose(scale, offset, note) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue