New scale methods from zifferjs
This commit is contained in:
@ -39,7 +39,7 @@
|
|||||||
"tone": "^14.8.49",
|
"tone": "^14.8.49",
|
||||||
"unique-names-generator": "^4.7.1",
|
"unique-names-generator": "^4.7.1",
|
||||||
"vite-plugin-markdown": "^2.1.0",
|
"vite-plugin-markdown": "^2.1.0",
|
||||||
"zifferjs": "^0.0.24",
|
"zifferjs": "^0.0.25",
|
||||||
"zzfx": "^1.2.0"
|
"zzfx": "^1.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import { seededRandom } from "zifferjs";
|
|||||||
import { MidiConnection } from "./IO/MidiConnection";
|
import { MidiConnection } from "./IO/MidiConnection";
|
||||||
import { tryEvaluate, evaluateOnce } from "./Evaluator";
|
import { tryEvaluate, evaluateOnce } from "./Evaluator";
|
||||||
import { DrunkWalk } from "./Utils/Drunk";
|
import { DrunkWalk } from "./Utils/Drunk";
|
||||||
import { scale } from "./Scales";
|
|
||||||
import { Editor } from "./main";
|
import { Editor } from "./main";
|
||||||
import { SoundEvent } from "./classes/SoundEvent";
|
import { SoundEvent } from "./classes/SoundEvent";
|
||||||
import { MidiEvent } from "./classes/MidiEvent";
|
import { MidiEvent } from "./classes/MidiEvent";
|
||||||
@ -17,6 +16,7 @@ import {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
} from "superdough";
|
} from "superdough";
|
||||||
import { Speaker } from "./StringExtensions";
|
import { Speaker } from "./StringExtensions";
|
||||||
|
import { getScaleNotes } from "zifferjs";
|
||||||
|
|
||||||
interface ControlChange {
|
interface ControlChange {
|
||||||
channel: number;
|
channel: number;
|
||||||
@ -1513,7 +1513,7 @@ export class UserAPI {
|
|||||||
this._logMessage(message);
|
this._logMessage(message);
|
||||||
};
|
};
|
||||||
|
|
||||||
scale = scale;
|
scale = getScaleNotes
|
||||||
|
|
||||||
rate = (rate: number): void => {
|
rate = (rate: number): void => {
|
||||||
rate = rate;
|
rate = rate;
|
||||||
|
|||||||
@ -1451,10 +1451,10 @@ yaml@^2.1.1:
|
|||||||
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b"
|
resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b"
|
||||||
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==
|
integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==
|
||||||
|
|
||||||
zifferjs@^0.0.24:
|
zifferjs@^0.0.25:
|
||||||
version "0.0.24"
|
version "0.0.25"
|
||||||
resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.24.tgz#073f606086ed7977a8c5cd6cc2f9d6c897415281"
|
resolved "https://registry.yarnpkg.com/zifferjs/-/zifferjs-0.0.25.tgz#939d170e4c263974d002e2c125c29b54ddbcd8dc"
|
||||||
integrity sha512-pTUM2i3pTBsINiflBym48pzQnEmw93Xf9GVq0FUnnWwLBirwJJsOxJeZZG/c7DVf4EnV7oC1Ik/R5ULt2sVtug==
|
integrity sha512-3cOvt7hYAUGM/qZ7IexrQxA8N2QrYF1ZEly1KqZiD5qPXSUb2lkhtBXqAoO0maSCDO6+C6MnTVuWft/VI+uM/g==
|
||||||
|
|
||||||
zzfx@^1.2.0:
|
zzfx@^1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user