← All projectsGitHub
Ambient AI assistant

Can a noise-adaptive voice gate fit in about 120 bytes of RAM on a pendant microcontroller, and does a cheaper noise floor cost battery life?

research/ambient-gatefw

Can a noise-adaptive voice gate fit in about 120 bytes of RAM on a pendant microcontroller? C port of ambient-gateroc's adaptive energy gate, bit-exact with the Python reference; a block-minimum noise floor cuts state from 1020 to 120 bytes and comparisons per frame from 249 to 24, moving modelled battery life by at most 0.07 h. Synthetic audio, host build only.

6 tests

What it found

A stylised follow-up to ambient-gateroc. Its adaptive energy gate (open when a 20 ms frame is at least 4× the minimum energy of the last 5 s) is ported to plain C99 and checked frame by frame against the Python reference. The exact 250-frame floor needs 1020 bytes of state and about 244 comparisons per frame. Keeping one minimum per block of 10 frames cuts that to 120 bytes and about 24 comparisons, flips 0.02–0.08% of gate decisions, and changes mean recall by at most 0.0002 and modelled battery life by at most 0.07 h (of about 82–90 h) on synthetic audio, 20 seeds × 4 rooms. Limitations: synthetic audio only; host gcc struct sizes and comparison counts, not measured cycles on an ARM core; battery hours inherit the ambient-wearable model.

A figure from its own output

Figure produced by research/ambient-gatefw: block_tradeoff
ambient-gatefw/experiments/block_tradeoff.png, written by the project's own experiment code.

Paper, code and results

More in Ambient AI assistant

All 46 Ambient AI assistant projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.