@audio/denoise-repair 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.
- package/package.json +3 -3
- package/repair.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@audio/denoise-repair",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Spectral repair — interpolate short time×frequency gaps and holes (De-Slop; iZotope RX class)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"repair.js"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"fourier-transform": "^2.3.0",
|
|
28
|
+
"@audio/stft": "^1.0.3"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
package/repair.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// regions repair chirps/beeps/holes without touching surrounding content.
|
|
6
6
|
|
|
7
7
|
import { fft } from 'fourier-transform'
|
|
8
|
-
import { stftBatch, hannWindow } from '@audio/
|
|
8
|
+
import { stftBatch, hannWindow } from '@audio/stft'
|
|
9
9
|
|
|
10
10
|
// analyze one frame's half-spectrum at pos (mag + phase copies)
|
|
11
11
|
function analyze (data, pos, win, half) {
|