Added experimental variable-rate resampling and improved ResampleStream performance.
What's Changed
There are no breaking changes in this release.
New Features
- Added (Experimental) Variable-rate Resampling
- Now available via
ResampleStream(vr=True)andset_io_ratio(). - WARNING: This is an experimental feature; the API may change without notice in future releases.
- Now available via
- Optimized
ResampleStreamperformance- Improved processing speed ≈5–10% (benchmarked with 1920-sample chunks).
- Reduction in memory consumption.
Internal
- Optimized internal memory allocation logic within
ResampleStream.
Tests
- Added randomized test cases to enhance stability and edge-case coverage.