Skip to content

Scripts

scripts/ holds DSP and analysis tools used for research and experiments. They run in the sw-devcontainer; most have a task setup that creates a Python virtualenv.

Tool Language Purpose
median-filter C core + Python harness Median-based impulse peak detector. C API: reference.
lms-filter C core + Python Fixed-point FxLMS active-noise-control demo (SISO + multichannel).
tdoa_estimation Python TDOA / Angle-of-Arrival analysis (cross-correlation, parabolic interpolation, phase delay).

Running a script

cd scripts/median-filter
task setup          # create venv + install deps (ffmpeg etc.)
task -l             # list the script's tasks
task benchmark      # example: build C core + benchmark

The peak detector's C core (scripts/median-filter/csrc/peak_detector.c) is documented two ways: a written algorithm overview and an auto-generated C API reference (produced by Doxygen via mkdoxy).