Skip to content

io7m-com/flannel

 
 

Repository files navigation

flannel

Maven Central Maven Central (snapshot) Codecov Java Version

com.io7m.flannel

JVM Platform Status
OpenJDK (Temurin) Current Linux Build (OpenJDK (Temurin) Current, Linux)
OpenJDK (Temurin) LTS Linux Build (OpenJDK (Temurin) LTS, Linux)
OpenJDK (Temurin) Current Windows Build (OpenJDK (Temurin) Current, Windows)
OpenJDK (Temurin) LTS Windows Build (OpenJDK (Temurin) LTS, Windows)

flannel

This flannel package is a port of the Free Lossless Audio Codec (FLAC) decoder to Java and a FLAC encoder implemented in Java.

It is derived from:

Building

$ mvn clean package

Usage

The package does not expose an API. It exposes javax.sound SPI providers. Specifically, it provides:

  • javax.sound.sampled.spi.AudioFileReader
  • javax.sound.sampled.spi.AudioFileWriter
  • javax.sound.sampled.spi.FormatConversionProvider

Simply use the standard Java AudioSystem class, and you should be able to open FLAC files.

Test Data

The original libraries used an fbodemo1.flac file that, for some reason, no longer exists on GitHub. The test data has been replaced with a public domain audio file taken from:

https://freesound.org/people/nicpressley/sounds/770969/

About

Pure Java FLAC

Topics

Resources

License

Apache-2.0, LGPL-2.1 licenses found

Licenses found

Apache-2.0
LICENSE.Apache-2.0
LGPL-2.1
LICENSE.LGPL-2.1

Stars

Watchers

Forks

Languages

  • Java 100.0%