From 0cb54bea5573c2f9a366c9056f33b85fda8f9d42 Mon Sep 17 00:00:00 2001 From: Paul1365972 Date: Mon, 13 Jan 2025 02:02:50 +0100 Subject: [PATCH] Refactor some code --- src/components/Spectrogram.svelte | 5 ++- src/lib/renderer.ts | 50 ++++++--------------------- src/lib/scales.ts | 56 +++++++++++++------------------ 3 files changed, 36 insertions(+), 75 deletions(-) diff --git a/src/components/Spectrogram.svelte b/src/components/Spectrogram.svelte index ee729ad..2b86c0e 100644 --- a/src/components/Spectrogram.svelte +++ b/src/components/Spectrogram.svelte @@ -1,5 +1,5 @@