minimal scale system

This commit is contained in:
2023-07-31 16:31:35 +02:00
parent 4b601045c8
commit e8ff8d1b74
3 changed files with 73 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import { Editor } from "./main";
import { scale } from './Scales';
import { tryEvaluate } from "./Evaluator";
import { MidiConnection } from "./IO/MidiConnection";
// @ts-ignore
@ -17,6 +18,8 @@ export class UserAPI {
log = console.log
scale = scale
rate(rate: number): void {
// TODO: Implement this. This function should change the rate at which the global script
// is evaluated. This is useful for slowing down the script, or speeding it up. The default