Giter Club home page Giter Club logo

flac-library-java's People

Contributors

nayuki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flac-library-java's Issues

Last call on FLAC specification

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/

Is this available on Maven Central?

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.

Flow diagram.

is it possible to provide a flow diagram for the encoder and decoder.. ?

Using the FlacEncoder class to encode a PCM byte array to a FLAC file

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.

FLAC decoder testbench

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

  • 22 - 12 bit per sample
  • 37 - 20 bit per sample
  • 45 - no total number of samples set

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.