Add rnnoise_ladspa as a git submodule and build automatically
parent
ac4e37f5fd
commit
37ae375fca
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "librnnoise_ladspa"]
|
||||||
|
path = librnnoise_ladspa
|
||||||
|
url = https://github.com/werman/noise-suppression-for-voice
|
@ -1,9 +1,13 @@
|
|||||||
dev:
|
dev: rnnoise
|
||||||
go generate
|
go generate
|
||||||
go build
|
go build
|
||||||
release:
|
release: rnnoise
|
||||||
go generate
|
go generate
|
||||||
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
|
CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-s -w -extldflags "-static"' .
|
||||||
upx noisetorch
|
upx noisetorch
|
||||||
tar cvzf NoiseTorch_x64.tgz noisetorch
|
tar cvzf NoiseTorch_x64.tgz noisetorch
|
||||||
rm noisetorch
|
rm noisetorch
|
||||||
|
rnnoise:
|
||||||
|
cd librnnoise_ladspa/; \
|
||||||
|
cmake . -DBUILD_VST_PLUGIN=OFF -DBUILD_LV2_PLUGIN=OFF -DBUILD_LADSPA_PLUGIN=ON; \
|
||||||
|
make
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 453a8af82a31a5361f6a13bf95c97686f0a2acd1
|
@ -1 +0,0 @@
|
|||||||
*
|
|
@ -1,10 +0,0 @@
|
|||||||
Put a compiled librnnoise_ladspa.so in this folder, it will be required for compilation.
|
|
||||||
|
|
||||||
You can find the code for this here: https://github.com/werman/noise-suppression-for-voice
|
|
||||||
|
|
||||||
Run:
|
|
||||||
|
|
||||||
git clone
|
|
||||||
cd noise-supression-for-voice
|
|
||||||
cmake .
|
|
||||||
make
|
|
Loading…
Reference in New Issue