Code Monkey home page Code Monkey logo

Comments (5)

segfault-bilibili avatar segfault-bilibili commented on July 20, 2024

I see "unknown chunk" after PCM sample data. I don't know what it is, but it doesn't seem to disturb anything...

from deretore.

segfault-bilibili avatar segfault-bilibili commented on July 20, 2024

Ah, the same bug I had once created & then fixed😂

segfault-bilibili/hca.js@3804499

Oh, I need to confirm this... Confirmed.

from deretore.

segfault-bilibili avatar segfault-bilibili commented on July 20, 2024

At least the "seam" block (at the start of looped blocks) itself should be re-decoded. I'm not sure whether more blocks should be re-decoded, however the affected bytes don't seem to be enough to make a full block - in other words, reworking one block seems to be enough to make the output byte-to-byte exactly the same to "stupidly" decoding every block including looped ones.

Oh, I need to confirm this... Confirmed.

from deretore.

segfault-bilibili avatar segfault-bilibili commented on July 20, 2024

Still not sure what happend, but something must be wrong - I tested with an HCA with its loop section stripped, and then the output WAV file seemed to be normal this time, without weird "unknown" chunk at the end.

What makes this an issue is, this seems to be caused by dozens of zero bytes inserted in the middle of PCM data...

The WAV header part is the same - which means the offset/size value written to the header is correct, then probably the writing offset(s) is miscalculated. See updates in the top post.

from deretore.

segfault-bilibili avatar segfault-bilibili commented on July 20, 2024

Oh now we have two bugs😂

from deretore.

Related Issues (20)

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.