Giter Site home page Giter Site logo

Comments (5)

JonathanTaquet avatar JonathanTaquet commented on July 20, 2024

Ok, thank you.

I found the issue.

Elektron RIFF files use a non "usual" size for the format "fmt " chunk (they use 18 bytes instead of 16). Once I read that chunk I do not properly update its size (as internally I use only 16 bytes) before writing it.
I'll try to fix this soon.

from oe2ssle.

JonathanTaquet avatar JonathanTaquet commented on July 20, 2024

Ok, commit 49d4713 should solve the issue.
Commit 71984db clean the 'fmt ' chunk before exporting it in a '.all' file. It seems to be not necessary, as electribe properly import '.all' file with 'fmt ' chunk containing extra data, but it mimics the result of an export from the electribe of a sample that had extra 'fmt ' data when imported.

from oe2ssle.

emiguevara avatar emiguevara commented on July 20, 2024

Thanks a lot, will be testing later today. I think the "unusual" fmt sizes might be due to some audio editor writing more info (my bet is on Adobe Audition): exporting audio again with Audacity seems to give 16-byte fmts that we can normally read. By the way, I am still not sure, but I think the chunk can take up to 24 bytes.... see http://soundfile.sapp.org/doc/WaveFormat/

from oe2ssle.

emiguevara avatar emiguevara commented on July 20, 2024

Tested last commits, works fine importing, manipulating and saving. Thanks again!

from oe2ssle.

JonathanTaquet avatar JonathanTaquet commented on July 20, 2024

Thank you for your report, it helps to make a stable application!

from oe2ssle.

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.