From 9e381e84db921b9a8ee85e9c1d2619d26b0cda02 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Sat, 18 Nov 2023 23:42:03 +0100 Subject: [PATCH] add frequency scope by default --- src/main.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main.ts b/src/main.ts index 6879efa..90721f3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -189,6 +189,15 @@ export class Editor { loadUniverserFromUrl(this); // this.setPeriodicSave(5000); + + // ================================================================================ + // Displaying a scope by default! + // ================================================================================ + this.api.scope({ + enabled: true, + mode: "freqscope", + offsetY: window.innerWidth / 3.5, size: 0.80 + } as OscilloscopeConfig) } private getBuffer(type: string): any {