rnnoise

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

README

rnnoise

How to use

git clone https://github.com/snowlyg/rnnoise.git --depth=1

cd rnnoise/example
go build -o denoise main.go 

./main 

./denoise origin.wav denoised.wav

build lib

git clone https://github.com/xiph/rnnoise.git --depth=1 src

chmod -R 0777 ./src

cd ./src

./autogen.sh
./configure  
make
make install

use for android

RnnoiseAndroidPlugin

Documentation

Index

Constants

View Source
const FrameSize = 480

Variables

This section is empty.

Functions

func PlayFile added in v0.0.2

func PlayFile(inputFile string)

PlayFile

Types

type DenoiseState added in v0.0.2

type DenoiseState struct {
	// contains filtered or unexported fields
}

DenoiseState

func NewDenoiseState added in v0.0.2

func NewDenoiseState() *DenoiseState

NewDenoiseState

func (*DenoiseState) Denoise added in v0.0.2

func (d *DenoiseState) Denoise(samples []byte) []byte

Denoise

func (*DenoiseState) DenoiseInt16 added in v0.0.2

func (d *DenoiseState) DenoiseInt16(inputTmp []int16) []int16

Process

func (*DenoiseState) DestoryDenoiseState added in v0.0.2

func (d *DenoiseState) DestoryDenoiseState()

DestoryDenoiseState

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL