forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 00c1b3ff2d80d84fef71bb6208110dedbbd95fc4Filtered to crates/ec-opus/src/silk_enc.rsClear filter

2026-08-23

docs(opus-silkq/r1): voiced threshold sweep recorded; not the 12k mechanismAhmet Kaan Gümüş · 6d12ee1
docs(opus-silkq/r1): voiced threshold sweep recorded; not the 12k mechanism

2026-08-21

2026-08-20

fix(opus-silk): LPC->NLSF polynomial sign, closed-loop LTP pick, conformance round tripAhmet Kaan Gümüş · 68c7064
fix(opus-silk): LPC->NLSF polynomial sign, closed-loop LTP pick, conformance round trip

lpc_to_nlsf evaluated A(z) = 1 + sum a z^-k for a predictor-convention
lpc (x ~= sum a x[n-k-1]); the decoder's nlsf2a thus got the anti-predictor
and every synthesised frame rang. LTP codebook vectors are now picked per
subframe against the reconstructed (quantised) history so pitch-loop
feedback of quantisation noise cannot run away; the reconstruction keeps
LTP prediction in sample units (g*exc + pred). silk_mono_nb_wb_roundtrip:
synthetic NB 0.975 / WB 0.981, wav16-mono NB 0.9999 / WB 0.9996, range
state equal every packet, ffmpeg decodes the Ogg clean.
feat(opus-silk): SILK encoder analysis front endAhmet Kaan Gümüş · 79db13a
feat(opus-silk): SILK encoder analysis front end

Adds silk_enc.rs: 48k->8/12/16k FIR decimator, simplified VAD, LPC
analysis with unit-circle P/Q NLSF conversion, NLSF VQ search against
the decoder codebooks, pitch estimation and gain quantisation. Decoder
helpers made pub(crate) for reuse; no decoder logic changes.