code wiki / _hdl_build / nx_asr_frontend_gate.nx
nx_asr_frontend_gate.nx
buildroot/runtime/_hdl_build/nx_asr_frontend_gate.nx
about
nx_asr_frontend_gate.nx -- proves THE DEEP rung 1 (ASR acoustic front-end), NO fake green. Synthesizes EXACT
integer tones from the nx_fft twiddle table (a tone at bin k = cos(2*pi*k*i/N)); the front-end must (1) recover
the right peak bin for two different tones, (2) place two well-separated tones in DIFFERENT filterbank bands,
and NEG-CONTROL (3) report ~zero energy for silence and (4) clearly non-zero energy for a tone (VAD seed).
Honest: this is the FRONT-END only, not recognition. expect_exit: 0 license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_asr_frontend.nxnx_gate_verdict.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func ag(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 11 | func agn(v: i64) -> i64 |
| 21 | func cos_lut(twr: *i64, m: i64) -> i64 called by 1: syn |
| 28 | func syn(twr: *i64, k: i64, pcm: *i64, n: i64) -> i64 |
| 34 | func main() -> i64 |