@audio/denoise 0.4.0 → 0.4.2

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 +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -69,7 +69,7 @@ denoise(data, { force: 'wiener' }) // skip classifie
69
69
 
70
70
  **Routing (in priority order):**
71
71
  1. tonal hum (Goertzel — ≥2 of first 3 harmonics show 50× line/off-line ratio at 50 or 60 Hz)
72
- 2. impulses (excess kurtosis of AR residual > 12)
72
+ 2. impulses: AR(30) residual samples over 12× the residual RMS within ±10 ms and 2× every residual 2.5–15 ms away (a glottal pulse has its like one pitch period off), more than 1 a second (`CLICK_RATE`)
73
73
  3. sibilance (high/mid band power ratio > 8)
74
74
  4. LF rumble (low/mid band power ratio > 3)
75
75
  5. non-stationary noise (CV of the rolling-minimum frame-energy floor > 0.3) → omlsa
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audio/denoise",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "type": "module",
5
5
  "description": "Noise reduction — gate, spectral subtraction, Wiener, OM-LSA, dehum, declick, decrackle, declip, deesser, dereverb",
6
6
  "sideEffects": false,
@@ -51,9 +51,9 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@audio/vad": "^1.0.0",
54
- "@audio/noise-estimate": "^2.0.0",
55
- "@audio/denoise-spectral": "^0.2.0",
56
- "@audio/denoise-wiener": "^0.2.0",
54
+ "@audio/noise-estimate": "^2.1.0",
55
+ "@audio/denoise-spectral": "^0.2.1",
56
+ "@audio/denoise-wiener": "^0.2.1",
57
57
  "@audio/denoise-omlsa": "^0.2.0",
58
58
  "@audio/denoise-dehum": "^0.2.0",
59
59
  "@audio/denoise-declick": "^0.1.0",
@@ -63,7 +63,7 @@
63
63
  "@audio/denoise-deplosive": "^0.1.0",
64
64
  "@audio/denoise-debreath": "^0.1.0",
65
65
  "@audio/denoise-dereverb": "^0.2.0",
66
- "@audio/denoise-detect": "^0.2.0",
66
+ "@audio/denoise-detect": "^0.3.1",
67
67
  "@audio/dynamics-gate": "^0.1.4",
68
68
  "@audio/denoise-repair": "^0.2.0",
69
69
  "@audio/quality": "^1.0.0",