Comments (4)
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.
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.
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.
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)
- Possible bug when no block is given to the writer? HOT 2
- No high-level duration info HOT 2
- Example here - https://github.com/jstrait/wavefile/wiki/WaveFile-Tutorial#copying-a-wave-file-to-different-format working correctly? HOT 5
- fyi: ruby-wavefile now packaged for Debian HOT 1
- support reading from a file or stream HOT 5
- Duration does not override equality HOT 2
- UnsupportedFormatError HOT 8
- Method to obtain markers/cue points HOT 6
- each_buffer causes ReaderClosedError HOT 3
- Reference for older methods HOT 4
- examples: how create reverse file? HOT 2
- Mix 2 wav files. HOT 2
- Rewind the IO object HOT 4
- Format Chunks With Extra Bytes at the End Sometimes Cause `InvalidFormatError` to be Raised HOT 1
- `Reader` instances can be created for WAVE_FORMAT_EXTENSIBLE files that have an incomplete/missing format chunk extension HOT 1
- Bufer from bytes & mulaw HOT 2
- WaveFile::Reader doesn't work with pipe IO HOT 2
- Sample Data Can't Be Read From a WAVE_FORMAT_EXTENSIBLE File With an Oversized Format Chunk Extension HOT 1
- How i can play file HOT 1
- Misleading error message if "fmt " chunk extension is too large to fit into chunk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wavefile.