nx_audio_web.nx
buildroot/runtime/nx_audio_web.nx
about
nx_audio_web.nx -- AUDIO ENGINE -> WEB bridge: emit an HTML page that PLAYS a
sovereign-generated tone in a browser via a base64 data: URI. The live-testable
loop for audio -- the engine's output becomes a clickable, audible web page.
Composes synth(R3b) + wav(R4) + the existing sovereign b64_encode (DRY).
license_tier: ORIGINAL.
dependencies 5 imports · 3 importers
imports: nx_syscalls.nxnx_audio_mix.nxnx_audio_synth.nxnx_audio_wav.nxnx_base64.nx
imported by: nx_audio_web_test.nxnx_opaque_login_daemon.nxnx_opaque_login_routes.nx
structs
| none |
consts
| 12 | const K_MAGIC_8000: i64 = 8000 |
| 13 | const K_MAGIC_2400: i64 = 2400 |
| 14 | const K_MAGIC_9000: i64 = 9000 |
| 15 | const K_MAGIC_1400: i64 = 1400 |
| 16 | const K_MAGIC_65536: i64 = 65536 |
functions
| 18 | func aw_app(out: *u8, off: *i64, s: *u8) -> i64 called by 1: nx_audio_web_page |
| 25 | func nx_audio_web_page(out: *u8, out_cap: i64) -> i64 called by 3: nx_audio_web_savemainolg_route_ip calls 6: sys_mmaposc_sineadsr_applywav_render_stereob64_encodeaw_app |
| 48 | func nx_audio_web_save(path: *u8) -> i64 |