This is a fork of JustFLAC and JavaFlacEncoder.
This library contains a port of the Free Lossless Audio Codec (FLAC) decoder to Java and a FLAC encoder implemented in Java. It is designed to enable easy addition of FLAC support in Java applications.
- Add the Maven Central repository (if not exist) to your build file:
repositories {
...
mavenCentral()
}
- Add the dependency:
dependencies {
...
implementation 'com.tianscar.javasound:javasound-flac:1.4.1'
}
Tests and Examples
Command-line interfaces
Note you need to download test audios here and put them to /src/test/resources to run the test code properly!