mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
Add opt-in WASM AEC3 echo canceller for speaker+mic setups
Off-by-default toggle in the recording options (Aufnahmeoptionen), using @ennuicastr/webrtcaec3.js (Google WebRTC's AEC3, compiled to WASM) as a stronger supplement to native browser echo cancellation - addresses the speaker+studio-mic (no headset) case from issue #2. Native echoCancellation is turned off while this is enabled since running both fights the same signal. Assets are synced from node_modules into public/vendor/ at dev/build time rather than committed, since the module's glue code needs its .wasm co-located under an exact, unhashed filename. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
390a2b5749
commit
258d108f59
9 files changed
+207
-98
No files matched your search
@@ -4,12 +4,15 @@
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"predev": "node scripts/sync-aec3-assets.mjs",
|
||||
"dev": "vite",
|
||||
"prebuild": "node scripts/sync-aec3-assets.mjs",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "oxlint",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ennuicastr/webrtcaec3.js": "^0.3.0",
|
||||
"fflate": "^0.8.3",
|
||||
"react": "^19.2.7",
|
||||
"react-dom": "^19.2.7"
|
||||
|
||||
Reference in new issue
Block a user