From 7f3ebcc732993b896c61d0e8390c8db8239ae0d8 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Fri, 12 Jul 2024 02:02:41 -0700 Subject: [PATCH] eh different printf --- ch32v/lib/webhidcontrol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch32v/lib/webhidcontrol.js b/ch32v/lib/webhidcontrol.js index 873532f..d2f89af 100644 --- a/ch32v/lib/webhidcontrol.js +++ b/ch32v/lib/webhidcontrol.js @@ -139,13 +139,13 @@ async function toggleAudio() this.iirphase = this.iirphase * 0.999 + diffphase * 0.001; \ diffphase -= this.iirphase; \ var po = this.phaseout = this.phaseout * 0.993 + diffphase; \ - console.log( po ); \ if( po < 0.0 ) po += 1.0; \ if( po > 1.0 ) po -= 1.0; \ this.rbuffer[this.rbufferhead] = po; \ } \ this.rbufferhead = n; \ } \ + console.log( this.iirphase ); \ }; \ }\ \