Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Aug 01:07
· 8 commits to main since this release

Major internal overhaul for Python-SoXR.

Huge speed improvement 🚀 (~2x for some configurations!)

What's Changed

BREAKING CHANGE:

  • Drop deprecated implicit conversion in ResampleStream

New features:

  • Add more bindings (clear(), delay(), num_clips())
  • Speed improvement (compared from v0.4.0, static builds only)
    • ~100% faster LQ, MQ, HQ resample on ARM
    • ~100% faster VHQ resample on x86_64

Internal:

  • Change C binding to nanobind
    • AVX SIMD64 support (faster VHQ for x86_64)
    • Python Stable ABI
  • Speed optimization
    • Fix NEON detection on ARM CPUs
    • Use split channel I/O when appropriate (Avoid interleaving, de-interleaving)
    • Use divide process in process_chunk()
    • Add more GIL release scope

Tests:

  • Add test for ResampleStream, int I/O, split channel I/O, multi-threading
  • Add test for Python 3.13
  • Update bench scripts

Documentation:

  • Update benchmark section
  • Update build instructions
  • Separate license text file with dependencies

Full Changelog: v0.4.0...v0.5.0