code wiki / (root) / nx_audio_demo_test.nx

nx_audio_demo_test.nx

buildroot/runtime/nx_audio_demo_test.nx

2851 B59 linesdepth 4pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic audio
docsdependenciesstructsconstsfunctions

about

nx_audio_demo_test.nx -- INTEGRATION gate: the 4 audio rungs compose into the real signal path. Voice A (square) synthesized -> resampled 8->16 -> panned hard-LEFT; voice B (saw) synthesized -> panned hard-RIGHT; both summed into one stereo bus. Proves osc(R3) -> resample(R1) -> pan(R2) -> mix(R0) end to end, all sovereign. expect_exit: 0.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_audio_mix.nx nx_audio_resample.nx nx_audio_pan.nx nx_audio_osc.nx nx_audio_demo_test.nx

imports: nx_syscalls.nxnx_audio_mix.nxnx_audio_resample.nxnx_audio_pan.nxnx_audio_osc.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap w sys_write osc_square osc_saw ar_resample_linear ae_clamp ap_pan_into ap_gl ap_gr ae_clamp ↻ chk w ↻ wn sys_mmap ↻ sys_write ↻

structs

none

consts

none

functions

13func w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: chkmain calls 1: sys_write
14func wn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
23func chk(cond: i64, pass: *i64, fail: *i64, label: *u8) -> i64
called by 1: main calls 1: w
29func main() -> i64