separate out strudel.mjs, make index.mjs aggregate module
This commit is contained in:
parent
0396c3f475
commit
f75da0e2e3
21 changed files with 296 additions and 329 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import Tune from './tunejs.js';
|
||||
import { Pattern } from '@strudel.cycles/core/strudel.mjs';
|
||||
import { Pattern } from '@strudel.cycles/core';
|
||||
|
||||
Pattern.prototype._tune = function (scale, tonic = 220) {
|
||||
const tune = new Tune();
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import { Pattern } from '@strudel.cycles/core/strudel.mjs';
|
||||
import { mod } from '@strudel.cycles/core/util.mjs';
|
||||
import { Pattern, mod } from '@strudel.cycles/core';
|
||||
|
||||
export function edo(name) {
|
||||
if (!/^[1-9]+[0-9]*edo$/.test(name)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue