Skip to content

0.5.0 — streaming, formats, agent CLI

Choose a tag to compare

@Neksand Neksand released this 18 Nov 09:28
· 9 commits to master since this release

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 --json and soundrs convert.
  • Formats: AIFF, CAF and ALAC-in-M4A; pathlib.Path everywhere.
  • 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-fast play_file, preflight record_to, 0…3600s record() 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 audit with no ignores.

Install: pip install sound_rs==0.5.0 or pip install 'sound_rs[numpy]'.

Benchmark: REPORT-2026-11-12.