Spaces:
Running
Running
update
Browse files- .gitignore +3 -0
- build_vad_go.sh +11 -0
- nx_vad/go.mod +1 -1
- nx_vad/nx_vad.go +2 -2
.gitignore
CHANGED
@@ -5,6 +5,9 @@
|
|
5 |
#data/
|
6 |
dotenv/
|
7 |
logs/
|
|
|
|
|
|
|
8 |
**/__pycache__/
|
9 |
|
10 |
#**/*.wav
|
|
|
5 |
#data/
|
6 |
dotenv/
|
7 |
logs/
|
8 |
+
vad_bins/
|
9 |
+
|
10 |
+
**/build/
|
11 |
**/__pycache__/
|
12 |
|
13 |
#**/*.wav
|
build_vad_go.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env bash
|
2 |
+
|
3 |
+
mkdir -p vad_bins/
|
4 |
+
|
5 |
+
# nx_vad
|
6 |
+
|
7 |
+
cd nx_vad
|
8 |
+
|
9 |
+
bash build_nx_vad.sh
|
10 |
+
|
11 |
+
cp ./build/nx_vad ../vad_bins/nx_vad
|
nx_vad/go.mod
CHANGED
@@ -1 +1 @@
|
|
1 |
-
module nx_vad
|
|
|
1 |
+
module nx_vad
|
nx_vad/nx_vad.go
CHANGED
@@ -2,8 +2,8 @@ package main
|
|
2 |
|
3 |
import (
|
4 |
"flag"
|
5 |
-
"dsp/audio"
|
6 |
-
"dsp/streaming_vad"
|
7 |
"fmt"
|
8 |
)
|
9 |
|
|
|
2 |
|
3 |
import (
|
4 |
"flag"
|
5 |
+
"nx_vad/dsp/audio"
|
6 |
+
"nx_vad/dsp/streaming_vad"
|
7 |
"fmt"
|
8 |
)
|
9 |
|