code wiki / _hdl_build / nx_denoise_spectral_gate.nx

nx_denoise_spectral_gate.nx

buildroot/runtime/_hdl_build/nx_denoise_spectral_gate.nx

2797 B45 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_denoise_spectral_gate.nx -- proves + MEASURES sovereign spectral denoise (nx_denoise_spectral): estimate the noise floor from a silence frame, then remove broadband noise from a speech+noise frame while keeping the speech.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_gate_emit_lib.nx nx_denoise_spectral.nx nx_denoise_spectral_gate.nx

imports: nx_syscalls.nxnx_gate_emit_lib.nxnx_denoise_spectral.nx

imported by: nobody (leaf or entry point)

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

main g_puts sys_write sys_mmap ds_noise_floor nx_fft_forward fft osc_sin_unit osc_sin_s osc_qm osc_cos_s osc_qm ↻ nx_fft_power_spectrum g_pn sys_mmap ↻ sys_write ↻ tri8 bin_power sys_mmap ↻ nx_fft_forward ↻ ds_spectral_gate nx_fft_forward ↻ nx_fft_power_spectrum ↻ nx_fft_inverse fft ↻ g_check g_puts ↻ sys_exit

structs

none

consts

none

functions

7func tri8(i: i64) -> i64 { let p: i64 = i % 8; if p <= 4 { return p } return 8 - p }
called by 1: main
9func bin_power(sig: *i64, n: i64, b: i64) -> i64
called by 1: main calls 2: sys_mmapnx_fft_forward
16func main() -> i64