Repository navigation
0.5.0 — streaming, formats, agent CLI
sound_rs 0.5.0
- Streaming Decoder: bounded-memory blocks with optional resampling and mono folding.
- write_bytes: WAV bytes without touching disk; load_many(on_error="skip").
- CLI:
soundrs info --jsonandsoundrs convert. - Formats: AIFF, CAF and ALAC-in-M4A;
pathlib.Patheverywhere. - One MP3 decoder: Symphonia replaces minimp3; the 47-sample LAME/Xing offset is gone. Full-file MP3 is ~26% slower on the 60s benchmark, still ~2,000x realtime.
- Continuous fed resampling,
Player.paused, fail-fastplay_file, preflightrecord_to, 0…3600srecord()validation. - Linux wheels bundle the ALSA runtime; import and decoding work in slim containers without system packages.
- CI: Python 3.13, no-default-features,
cargo auditwith no ignores.
Install: pip install sound_rs==0.5.0 or pip install 'sound_rs[numpy]'.
Benchmark: REPORT-2026-11-12.