Coder Social home page Coder Social logo

Comments (4)

jstrait avatar jstrait commented on June 15, 2024

Hi Rich,

Currently, the WaveFile gem supports reading/writing files with these sample formats:

PCM 8, 16, 32-bit
Floating Point 32, 64-bit

Any other formats, including PCM 24-bit, will raise UnsupportedFormatError.

I started working on supporting reading/writing 24-bit files last night, which would also include the ability to read a 24-bit file into 32-bit buffers (which it sounds like you might need from the other linked issue). It looks feasible, and I'll release a new version of the gem when it's in place. FYI though, I'll be going out of town for a few days for the Thanksgiving holiday so I won't be able to do a release until after then.

Thanks!
Joel

from wavefile.

richorton avatar richorton commented on June 15, 2024

Hi Joel,

I did comment on the linked issue on lame, but just incase you didn't get a notification I though I'd comment here too..

I'm truly very grateful for this, it's going to make my life a hell of a lot easier once it's implemented. My client should be pretty happy when I let them know tomorrow too!

Don't stress about a release date either. I completely understand that we all have other things going on. I've put a patch in place on the application I am working on now anyway, so it's not like I have had to "down tools" whilst I find a fix or anything as drastic as that.

Please let me know if there's anything I can do to help too (i'll try my best!)

Thanks,
Rich

from wavefile.

jstrait avatar jstrait commented on June 15, 2024

Hey Rich,

Sure, no problem! I just released a new version (0.6.0) which should let you read/write 24-bit files, as well as convert 24-bit files to the other supported formats. Let me know if you run into any issues. Hope this helps!

Thanks,
Joel

from wavefile.

richorton avatar richorton commented on June 15, 2024

Hi Joel,

That's brilliant, thanks for letting me know. I'll be sure to let you know how I get on as soon as I get a chance to implement the changes.

Thanks,
Rich

from wavefile.

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.