@cleanfield/web 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +2 -1
package/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # @cleanfield/web
2
+
3
+ CleanField Voice 1.0 noise suppression for the browser: a 19-layer neural model
4
+ running in WebAssembly inside an AudioWorklet. No build step, no backend.
5
+
6
+ ```js
7
+ import { attach } from '@cleanfield/web';
8
+
9
+ const { node, detach } = await attach(audioContext, { gain: 1.0 });
10
+ source.connect(node).connect(audioContext.destination);
11
+ ```
12
+
13
+ - 16 kHz mono, 768-sample window, 256-sample hop, 80 ms algorithmic latency.
14
+ - Processes 0-8 kHz; higher bands pass through.
15
+ - Allocation-free steady state; the wasm module embeds the model (2.6 MB).
16
+ - `attach()` loads the worklet and the wasm, returns the node and a `detach()`.
17
+
18
+ Source, benchmark numbers and the full engine: https://github.com/CleanfieldVoice/Cleanfield
19
+
20
+ License: MIT.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cleanfield/web",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CleanField Voice 1.0 noise suppression for the browser (AudioWorklet + WebAssembly).",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,3 +8,4 @@
8
8
  "license": "MIT"
9
9
  }
10
10
 
11
+