A Java wrapper for Speex written in C using JNI.
Java 8+ is required to use this library.
Windows x86_64
Windows aarch64
macOS x86_64
macOS aarch64
Linux x86_64
Linux aarch64
Maven
<dependency>
<groupId>de.maxhenkel.speex4j</groupId>
<artifactId>speex4j</artifactId>
<version>1.0.0</version>
</dependency>
<repositories>
<repository>
<id>henkelmax.public</id>
<url>https://maven.maxhenkel.de/repository/public</url>
</repository>
</repositories>
Gradle
dependencies {
implementation 'de.maxhenkel.speex4j:speex4j:1.0.0'
}
repositories {
maven {
name = "henkelmax.public"
url = 'https://maven.maxhenkel.de/repository/public'
}
}
try(AutomaticGainControl agc = new AutomaticGainControl(960, 48000)) {
short[] audio = ...;
agc.agc(audio);
}
./gradlew build