Adding bry shortcut for binrhythm

This commit is contained in:
2024-01-18 15:52:28 +01:00
parent f451b81ea7
commit 694b994227
4 changed files with 53 additions and 52 deletions

View File

@ -578,12 +578,11 @@ export class Editor {
// @ts-ignore
this.hydra_backend = new Hydra({
canvas: this.interface.hydra_canvas as HTMLCanvasElement,
width: 1280,
height: 768,
detectAudio: false,
enableStreamCapture: false,
});
this.hydra = this.hydra_backend.synth;
this.hydra.setResolution(1280, 768);
(globalThis as any).hydra = this.hydra;
}