code wiki / (root) / nx_aec_q15.nx

nx_aec_q15.nx

buildroot/runtime/nx_aec_q15.nx

4196 B69 linesdepth 0pulls 0 transitivereach 0 importersview sourcekind orphan librarytopic aec
docsdependenciesstructsconstsfunctions

about

nx_aec.nx -- sovereign ACOUSTIC ECHO CANCELLATION (the echoCancellation feature Zoom/Discord/Meet have): the mic picks up the near-end speaker PLUS an echo of the far-end audio coming out of the speakers; AEC learns the echo path with an adaptive NLMS filter over the far-end REFERENCE signal and subtracts the predicted echo, so the other side hears your voice without their own voice bouncing back. Pure Nishi DSP (the browser only ferries raw PCM). w[] = filter taps in Q15 (persist across calls, start zeroed). license_tier: ORIGINAL

dependencies 0 imports · 0 importers

imports: none

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

9func aec_run(mic: *i64, ref: *i64, n: i64, L: i64, step_q15: i64, w: *i64, out: *i64) -> i64
40func aec_run_dtd(mic: *i64, ref: *i64, n: i64, L: i64, step_q15: i64, w: *i64, out: *i64, dtd_thresh_q8: i64, hang: i64) -> i64