Decorative site banner
Project icon

com.io7m.flannel

  • About
  • Releases
  • Manual
  • Sources
  • License
  • Issues
Maven Central Version Maven Snapshot Code Coverage

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:

  • JustFLAC
  • JavaFlacEncoder.

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/

Releases & Development Snapshots


Releases


You can subscribe to the atom feed to be notified of project releases.

The most recently released version of the package is 1.0.0.

1.0.0 Release (2025-12-22Z)

The compiled artifacts for the release (and all previous releases) are available on Maven Central.

Maven Modules


<dependency> <group>com.io7m.flannel</group> <artifactId>com.io7m.flannel.core</artifactId> <version>1.0.0</version> </dependency><dependency> <group>com.io7m.flannel</group> <artifactId>com.io7m.flannel.tests</artifactId> <version>1.0.0</version> </dependency>

Development Snapshots


At the time of writing, the current unstable development version of the package is 1.1.0-SNAPSHOT.

Development snapshots may be available in the Central Portal Snapshots repository. Snapshots are published to this repository every time the project is built by the project's continuous integration system, but snapshots do expire after around ninety days and so may or may not be available depending on when a build of the package was last triggered.

Manual


This project does not have any user manuals or other documentation beyond what might be present on the page above.

Sources


This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/flannel

$ git clone --recursive https://www.github.com/io7m-com/flannel

Issues


This project uses GitHub Issues to track issues.

License


GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.]

Last Updated 2025-12-22T10:34:44Z