nx_note_gate.nx
buildroot/runtime/nx_note_gate.nx
about
nx_note_gate.nx -- REFEREE for instrument-learn-game rung LG-0 (nx_note).
Direct F0->note checks spanning the instrument range (bass low E to high E),
including adjacent-semitone discrimination, plus one END-TO-END chain
(synth tone -> nx_pitch with instrument-range lags -> nx_note).
Evidence -> stdout + knowledge/status/note_gate.log. Exit 0 GREEN / 1 RED.
Sovereign x86_64 throughout. license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls_x86_64.nxnx_note.nxnx_pitch.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
| 13 | func gp(logfd: i64, s: *u8) -> i64 |
| 20 | func gn(logfd: i64, v: i64) -> i64 |
| 34 | func pname(logfd: i64, pc: i64) -> i64 |
| 50 | func gen_tone(out_pcm: *u8, nsamp: i64, period: i64) -> i64 called by 1: main |
| 63 | func chk(logfd: i64, f0: i64, exp: i64, tbl: *i64, out: *i64) -> i64 |
| 74 | func main() -> i64 |