rnnoise_android

package module
v0.0.9-alpha Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

RnnoiseAndroidPlugin

How to use

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

cd RnnoiseAndroidPlugin
./make.sh

cd example & \
go build -o denoise main.go

./denoise origin.wav

use for android

RnnoiseAndroidPlugin

mp4 to wav
ffmpeg -i <infile> -ac 2 -f wav <outfile>

build for windows

  cd build/windows \
  rm -rf build_windows \
  mkdir build_windows \
  cd build_windows \
  cmake -DCMAKE_BUILD_TYPE=Release ..
  make

Documentation

Index

Constants

View Source
const FrameSize = 480

Variables

This section is empty.

Functions

func PlayFile

func PlayFile(inputFile string)

PlayFile

Types

type DenoiseState

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

DenoiseState

func NewDenoiseState

func NewDenoiseState() *DenoiseState

NewDenoiseState

func (*DenoiseState) Denoise

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

Denoise

func (*DenoiseState) DenoiseInt16

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

Process

func (*DenoiseState) DestoryDenoiseState

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