v1.0.0
v1.0.0 — Initial Release
Pure Go implementation of the Opus audio codec (RFC 6716), with no runtime CGO dependency.
Features
- Encoder: Accepts 8/12/16/24/48 kHz mono/stereo input; resamples to 48 kHz; emits CELT-only fullband 20 ms packets
- Decoder: Full CELT, SILK, and hybrid (SILK+CELT) packet decoding
- Hybrid SILK+CELT reconstruction (time-domain sum)
- Hybrid SILK→CELT redundancy / crossfade
- RFC 6716 §3.2.5 code-3 multi-byte padding support
- RFC 8251 official test vectors: 12/12 PASS (all RMSE < 0.001)
- Entropy coder: Range encoder/decoder (
internal/entcode) - DSP utilities: FFT, MDCT/IMDCT, windowing (
internal/dsp) - Resampler: Opus-rate sample rate conversion (
internal/resampler) - CI: GitHub Actions matrix (amd64 + arm64), race detector, benchmarks, fuzz targets
Package
go get github.com/darui3018823/opus@v1.0.0