From 4d158cba47c732db76a88e3207143bc1eaa3f709 Mon Sep 17 00:00:00 2001 From: Geraint Date: Sat, 19 Apr 2025 09:41:48 +0100 Subject: [PATCH] Use split-computation in web demo --- web/demo/index.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/demo/index.html b/web/demo/index.html index 2887db2..233cdf3 100644 --- a/web/demo/index.html +++ b/web/demo/index.html @@ -22,7 +22,7 @@ } :root { - font-size: calc(min(12pt, 5vh)); + font-size: calc(min(12pt, 4.3vh)); } body { @@ -151,7 +151,8 @@ let controlValues = Object.assign({}, controlValuesInitial); let configValuesInitial = { blockMs: 120, - overlap: 4 + overlap: 4, + splitComputation: true }; let configValues = Object.assign({}, configValuesInitial); @@ -267,9 +268,9 @@ configTimeout = null; if (stretch) { stretch.configure({ - tonalityHz: configValues.tonalityHz, blockMs: configValues.blockMs, - intervalMs: configValues.blockMs/configValues.overlap + intervalMs: configValues.blockMs/configValues.overlap, + splitComputation: configValues.splitComputation, }); } }, 50);