From 8913f81b790c4b8f2f83ba80312b1709be94e21b Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Fri, 18 Nov 2022 15:20:10 +0100 Subject: [PATCH] moved from rms to dbFS --- gui/preload-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/preload-main.js b/gui/preload-main.js index 7ede2eda..fddbcbe5 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -1499,7 +1499,7 @@ ipcRenderer.on('action-update-tnc-state', (event, arg) => { if (dbfs_level_raw != arg.dbfs_level){ dbfs_level_raw = arg.dbfs_level dbfs_level = Math.pow(10, arg.dbfs_level / 20) * 100 - console.log(dbfs_level) + document.getElementById("dbfs_level_value").innerHTML = Math.round(arg.dbfs_level) + ' dBFS' document.getElementById("dbfs_level").setAttribute("aria-valuenow", dbfs_level); document.getElementById("dbfs_level").setAttribute("style", "width:" + dbfs_level + "%;");