Nishi Audio — Sovereign Audio Stack

Capability & state-of-the-art status. Every organ is sovereign: authored in NishiLang, compiled nx_cc → nxasm_x86 — no gcc, no borrowed decoders, from the first byte up.
Measured 2026-07-21 by building & running the real gates across the ~70-organ audio surface. Green = a gate passed with real numbers, verified independently. Nothing on this page is asserted without a gate.

Nishi audio is not greenfield and it is not yet SOTA. It is a large, proven, but scattered surface being consolidated onto an object-oriented base while it climbs toward the neural state of the art. This page is the honest scorecard.

Proven capabilities (gate-verified)

CapabilityOrgan / gateVerdictMeasured evidence
Lossless audio codecnx_audio_lossless_gateGREENBit-exact (max-err = 0) on all 3 paths; FLAC-class LPC; 96 kHz wide-spectrum retained
Voice codec (NishiVoice v2)nx_voice_codec_v2GREEN 3/3Real LPC autocorr→Levinson→synth→range-code; 2.4× compression, faithful reconstruction
Match a sampled voice (identity)nx_voiceprintGREENLPC-PARCOR vocal-tract embedding; same/diff-voice separation 92×; tamper rejected
Clone a captured voicenx_voice_clone_synthGREENRe-synth in the target tract; clone→target 48k vs clone→other 1.65B (33900× margin)
Text → phonemesnx_g2pGREENRule-based LTS incl. digraphs (sh/th/ch/ee/oo/ck); 27-phoneme inventory
Packet-loss concealmentnx_audio_dred_gateGREEN 4/4Burst of 8 → 0 gaps recovered vs 7 gaps for 1-frame FEC
Audiobook ingest (MP3/ID3 → .nmz)nx_audio_gateGREEN 10/0ID3 parse + byte-exact carry + CID; RED→GREEN debt eaten 2026-07-21 (recursive mkdir fix)

New: read a book in different generated voices → WAV

nx_book_voice_read — the end-to-end assembler built 2026-07-21, composing only proven-green parts (nx_g2pnx_voice_read per-speaker → concat → nx_wav header), routing around a broken legacy runner. GREEN 4/4, run-exit 0.

Honest SOTA status

nx_voicegen_census (GREEN, adversarial neg-control rejected) grades the voice stack against neural SOTA: BEHIND = 10 axes, PARITY = 0, AHEAD = 2 (both on the sovereignty floor). Formant source-filter synthesis is intelligible but caps at roughly MOS 3 — robotic. This is stated plainly, not hidden.

The SOTA path is neural, on the existing f32/SSE substrate: a neural vocoder (HiFi-GAN-class), a neural acoustic model (VITS / FastSpeech2-class), and neural voice cloning (EnCodec / VALL-E-class), with nx_voice_eval as the MOS-proxy ruler. That is the lane's north star, filed as tracked work — not claimed as done.

Architecture — object-oriented consolidation

A real codec base class already exists: nx_codec (vtable: encode / decode / frame_cas_hash / grade_card; sealed enums). The consolidation, without losing any functionality:

Ownership & tracked work

RACI R = engineer-audio · A = pm · C = librarian · I = team — registered on the sovereign common-tasks plane 2026-07-21 (audio was previously absent from the RACI SSOT).

Debt Five measured debts filed (seq 498–502): legacy TTS hang, formant copy-paste, neural-SOTA gap, lossless-codec duplication, tree-wide mkdir bug (partially eaten). Build order book-voice pipeline (done) → publish → codec consolidation → neural vocoder rung.