Skip to content

plasmoapp/rnnoise-jni-rust

Repository files navigation

rnnoise-jni-rust

Simple JNI wrapper for the nnnoiseless using jni-rs.

Adding dependency to the project

version

repositories {
    maven("https://repo.plasmoverse.com/releases")
}

dependencies {
    implementation("com.plasmoverse:rnnoise-jni-rust:$version")
}

Usage

Sample code from DenoiseTest.java

// Creates a new RNNoise instance.
Denoise denoise = Denoise.create();

// Processes the samples. Samples should be in 16-bit, 48kHz signed PCM format.
float[] processed = denoise.process(new float[960]);

// Closes the RNNoise instance, releasing allocated resources.
denoise.close();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published