January 1, 2012
We ended 2011 right, and now it’s time to get 2012 off on the correct foot as well. Version 0.4.0 of the WaveFile gem has been released today. It’s a major improvement, and features a completely new streaming API. Here are some of the improvements that this allows, courtesy of the README:
IO.open() works. It’s easy to continually read the sample data from a file, passing each buffer to a block, and have the file automatically close when there is no more data left.Other improvements include:
Note that the API from prior versions is obsolete. Any existing programs that previously used WaveFile will need to be re-written. Taking one step back to take two steps forward, etc. Also, support for reading or writing sample data as floating point has been removed as well. It’s possible it will be added back at a later date.