Watch
2
0
Fork
You've already forked flannel
0
Pure Java FLAC
  • Java 99.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-31 18:42:51 +01:00
.forgejo Update workflows. 2026-07-31 18:42:51 +01:00
com.io7m.flannel.core Begin next development iteration. 2025-12-22 10:22:04 +00:00
com.io7m.flannel.tests Begin next development iteration. 2025-12-22 10:22:04 +00:00
data Update test suite, README, etc. 2025-12-22 09:58:12 +00:00
src/site/resources Add shields config. 2025-12-22 10:21:05 +00:00
.gitignore Initial reconfiguration. 2025-12-21 20:26:51 +00:00
checkstyle-filter.xml Initial reconfiguration. 2025-12-21 20:26:51 +00:00
checkstyle-suppressions-1.0.dtd Initial reconfiguration. 2025-12-21 20:26:51 +00:00
doc7m-books.json Add doc7m-books.json 2026-07-31 18:36:42 +01:00
LICENSE.Apache-2.0 update license files 2023-05-18 22:52:14 +08:00
LICENSE.LGPL-2.1 update license files 2023-05-18 22:52:14 +08:00
pom.xml Migrate project. 2026-06-27 10:06:53 +01:00
README-CHANGES.xml Mark release 1.0.0 2025-12-22 10:21:55 +00:00
README-LICENSE.txt Truncate license for display. 2025-12-22 10:33:43 +00:00
README.in Migrate project. 2026-06-27 10:06:53 +01:00
README.md Migrate project. 2026-06-27 10:06:53 +01:00

flannel

Maven Central Maven Central (snapshot) Java Version

com.io7m.flannel

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/