From 69b7b1cde8b144401c8eab05e6a80605c38f5952 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 1 Nov 2026 12:18:12 -0700 Subject: add rnnoise for voice --- __pycache__/app.cpython-313.pyc | Bin 25241 -> 27259 bytes app.py | 37 ++- cache.json | 2 +- index.css | 46 ++++ static/mic-worklet.js | 172 +++++++++++++- static/voice.js | 485 +++++++++++++++++++++++++++++++++++++++- 6 files changed, 729 insertions(+), 13 deletions(-) diff --git a/__pycache__/app.cpython-313.pyc b/__pycache__/app.cpython-313.pyc index 8f15542..011fed6 100644 Binary files a/__pycache__/app.cpython-313.pyc and b/__pycache__/app.cpython-313.pyc differ diff --git a/app.py b/app.py index 2cf12f4..02a79ef 100644 --- a/app.py +++ b/app.py @@ -342,7 +342,10 @@ PAGE_TEMPLATE = """
[ not logged in ] - +
+ + +
@@ -411,6 +414,36 @@ PAGE_TEMPLATE = """ + +
+
+

RNNoise WASM

+ not cached +
+
+
+ [ background noise suppression ] +

Filters microphone input through RNNoise (WebAssembly) before audio is sent to the voice gateway.

+
+ +
+

Processing: not in a call

+
+
+ [ wasm model cache ] +
+ + +
+
+ +
+
+ +
+
+
+