Skip to content

henkelmax/rnnoise4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNNoise4J

A Java wrapper for RNNoise written in Rust using JNI.

Usage

Maven

<dependency>
  <groupId>de.maxhenkel.rnnoise4j</groupId>
  <artifactId>rnnoise4j</artifactId>
  <version>2.0.2</version>
</dependency>

<repositories>
  <repository>
    <id>henkelmax.public</id>
    <url>https://maven.maxhenkel.de/repository/public</url>
  </repository>
</repositories>

Gradle

dependencies {
  implementation 'de.maxhenkel.rnnoise4j:rnnoise4j:2.0.2'
}

repositories {
  maven {
    name = "henkelmax.public"
    url = 'https://maven.maxhenkel.de/repository/public'
  }
}

Example Code

short[] noisyAudio = ...;
Denoiser denoiser = new Denoiser();
short[] denoisedAudio = denoiser.denoise(noisyAudio);
denoiser.close();

Sources