From 07b345c2a6a51c5314ea27cbeff8e8bcf47cb88b Mon Sep 17 00:00:00 2001 From: TobiasRoeddiger Date: Wed, 11 Sep 2024 14:41:38 +0100 Subject: [PATCH] implemented wav recording --- assets/js/ChartManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/ChartManager.js b/assets/js/ChartManager.js index 5ce9367..8d8d4d3 100644 --- a/assets/js/ChartManager.js +++ b/assets/js/ChartManager.js @@ -153,6 +153,7 @@ function updateOrientation(acc, gyro, mag) { } var recordMic = false; +var rawData = []; $("#testMicButton").click(() => { recordMic = !recordMic; // Toggle recording state