adding b as shortcut

This commit is contained in:
2023-09-22 18:58:48 +02:00
parent 2b1ccd1825
commit c0e79ed704
2 changed files with 24 additions and 21 deletions

View File

@ -59,7 +59,7 @@ export class UserAPI {
MidiConnection: MidiConnection = new MidiConnection();
load: samples;
constructor(public app: Editor) {}
constructor(public app: Editor) { }
_loadUniverseFromInterface = (universe: string) => {
this.app.loadUniverse(universe as string);
@ -1017,6 +1017,7 @@ export class UserAPI {
);
return results.some((value) => value === true);
};
b = this.beat;
public pulse = (...n: number[]): boolean => {
const results: boolean[] = n.map(