From 776f71dac0b1655cd887a9b243ca6e768d642284 Mon Sep 17 00:00:00 2001 From: Shaheed Azaad Date: Fri, 25 Jul 2025 15:16:46 +0200 Subject: [PATCH] optional waveform --- scripts/mark-call.js | 242 +++++++++++++++++++++++++++++++------------ 1 file changed, 176 insertions(+), 66 deletions(-) diff --git a/scripts/mark-call.js b/scripts/mark-call.js index 7aee8fb..442f907 100644 --- a/scripts/mark-call.js +++ b/scripts/mark-call.js @@ -73,6 +73,9 @@ import html from '../utils/html.js'; return; } + // Check if waveform should be shown + const showWaveform = import.meta.env.VITE_SHOW_WAVEFORM === 'true'; + display_element.innerHTML = `