nayuki / flac-library-java Goto Github PK
View Code? Open in Web Editor NEWFLAC decoder library in Java.
Home Page: https://www.nayuki.io/page/flac-library-java
License: GNU General Public License v3.0
FLAC decoder library in Java.
Home Page: https://www.nayuki.io/page/flac-library-java
License: GNU General Public License v3.0
Sorry for bothering you this way, I really hope you don't mind.
To implement FLAC decoding in your flac implementation, you might have used the FLAC format specification on the FLAC website. If so, you probably needed to dive into some actual code (libFLAC or ffmpeg) to understand the finer points. An IETF working group has tried to improve this document, trying to include those finer points, and is on the verge of turning it in for final checks and publication as an RFC. A so-called working group last call has been issued, which lasts 2 weeks.
As you've had first-hand experience implementing FLAC from scratch, you probably know best what implementation details needed extra attention. It would be very valuable to have your feedback on the FLAC format for this document.
I hope you can provide some insights.
The latest draft can be found here https://datatracker.ietf.org/doc/draft-ietf-cellar-flac/
Good day:
I'm interested in using your encoder/decoder in one of my own projects, but I can't seem to find this project on Maven Central. Is it available there, or is the source code all that's available?\
Thank you.
is it possible to provide a flow diagram for the encoder and decoder.. ?
Good day:
I've been working on adding FLAC support to one of my programs, and I thought it'd be great to use your project, since it has an encoder and decoder. However, I cannot figure out how the encoder works. No matter how I try to arrange my sample data, it always throws an IllegalArgumentException once it reaches the computeBest() method. It probably has to do with how I'm converting the PCM data to the format that the FlacEncoder requires (an int[][]).
Could you explain how that 2D int array should be constructed to work? I tried putting a sample in each array position, with index 0 being the left channel, and index 1 being the right channel, and that did not work. In essence, something like: samples[0][0] = leftChannelByte; samples[0][1] = rightChannelByte; etc...
I also tried flipping the use of indices in the array, so making the first dimension the number of channels, and the second the length of the PCM array divided by the number of channels (the opposite of what I outlined above), and that also failed.
In case it is relevant, I am using 2 channels, sample rate of 44100, block size of 4096 and SUBSET_BEST for search options.
Thank you.
Hi!
Can you publish this library to the maven repository?
I just found your FLAC library, and tested it with this FLAC decoder testbench. Testing with the DecodeFlacToWav class throws errors on the following files
Still, this is quite a feat, almost all decoders I tried fail one or a few files. I hope this helps you to even further improve this library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.