Skip to content

0.8.0 — Opus and WebM

Latest

Choose a tag to compare

@Neksand Neksand released this 21 Nov 22:09

sound_rs 0.8.0

Opus and WebM, pure Rust.

  • Decode Opus in Ogg (.opus, .ogg) and WebM/Matroska (.webm, .mkv).
  • 1–8 channels, 48 kHz, no system libopus and no C build dependency (symphonia-opus).
  • Upgraded to Symphonia 0.6.1; all nine existing decode fixtures stay byte-identical.
  • Ogg pre-skip is trimmed. WebM can retain up to one Opus packet (~13.5 ms) of tail audio
    because Matroska does not expose final padding.
  • New Opus fixtures cover mono/stereo Ogg, WebM, 5.1 and real speech.

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

Also in 0.7.x/0.6.x: probe() metadata, play_array(layout="frames"), soundrs mcp,
CLI JSON/convert, streaming Decoder, musllinux wheel.