Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shenjinti/go-rnnoise
rnnoise golang bindings
https://github.com/shenjinti/go-rnnoise
Last synced: 2 days ago
JSON representation
rnnoise golang bindings
- Host: GitHub
- URL: https://github.com/shenjinti/go-rnnoise
- Owner: shenjinti
- Created: 2024-07-23T04:38:26.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-29T07:08:52.000Z (5 months ago)
- Last Synced: 2024-11-10T17:11:51.189Z (2 months ago)
- Language: C
- Size: 11.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rnnoise golang bindings
- [rnnoise](https://github.com/xiph/rnnoise.git)
The RNNoise project is a noise suppression library based on a recurrent neural network.
This project is a golang bindings for the RNNoise project.
## requirements
- gcc (for cgo)
## get cmd gornnoise
``` bash
$ go install github.com/shenjinti/go-rnnoise/cmd/gornnoise#Usage: gornnoise
```## Example
```go
func TestProcess(t *testing.T) {
r := NewRNNoise()frameSize := GetFrameSize()
assert.Equal(t, frameSize, 480)
o := r.Process([]byte{1, 2, 3, 4, 5, 6})
assert.Equal(t, []byte{0, 0, 0, 0, 0, 0}, o)
}```