code wiki / (root) / nx_audio_web.nx

nx_audio_web.nx

buildroot/runtime/nx_audio_web.nx

2356 B57 linesdepth 4pulls 6 transitivereach 6 importersview sourcekind librarytopic audio
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_audio_mix.nx nx_audio_synth.nx nx_audio_wav.nx nx_base64.nx nx_audio_web.nx nx_audio_web_test.nx nx_opaque_login_daemon.nx nx_opaque_login_routes.nx

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

12const K_MAGIC_8000: i64 = 8000
13const K_MAGIC_2400: i64 = 2400
14const K_MAGIC_9000: i64 = 9000
15const K_MAGIC_1400: i64 = 1400
16const K_MAGIC_65536: i64 = 65536

functions

18func aw_app(out: *u8, off: *i64, s: *u8) -> i64
called by 1: nx_audio_web_page
25func nx_audio_web_page(out: *u8, out_cap: i64) -> i64
48func nx_audio_web_save(path: *u8) -> i64