You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A brand new API, based on streaming. (The old API has been removed). Improvements due to the new API include:
Reduced memory consumption, due to not having to load the entire file into memory. In practice, this allows the gem to read/write files that previously would have been prohibitively large.
Better performance for large files, for the same reason as above.
Ability to progressively append data to the end of a file, instead of writing the entire file at once.
Ability to easily read and write data in an arbitrary format, regardless of the file's native format. For example, you can transparently read data out of a 16-bit stereo file as 8-bit mono.
Automatic file management, similar to how IO.open() works.
Ability to query format metadata of files without opening them, even for formats that this gem can't read or write.
Support for reading and writing 32-bit PCM files.
No longer supported: Reading PCM data as floating point and writing floating point as PCM.