Eve library

phase-132.md

Tracker

Revision 1

On this page

Historical task source. The Eve task board holds current task state.

Phase 132: Sovereign Audio Runtime & Plugin Platform#

Foundational audio infrastructure closing the most immediate sovereignty gap identified in the audit: without native audio drivers and plugin hosts, the Composer DAW (Phase 44.3) cannot connect to any real audio interface or load any third-party instrument/effect. This phase delivers the sovereign audio stack — drivers, plugin formats, MIDI I/O, network audio, hardware controller integration, transport/clock sync, file I/O, and validation — that every other audio-producing domain depends on (Composer, Euterpe, Uzume, Veritas dialogue, Yemaya production sound, Metaverse spatial audio, Neith Engine game audio).

Target: industry-grade <5 ms round-trip latency, sample-accurate sync, and complete parity with CoreAudio / ASIO / JACK / WASAPI / PipeWire / AAudio driver expectations. Plugin host must pass the standard VST3, AU, LV2, and CLAP validator suites.


132.1 @neith/audio-runtime — Sovereign Audio Driver Abstraction#

Unified cross-platform audio HAL with driver selection, device enumeration, buffer management, and hot-plug handling.

132.1.1 Driver Abstraction Core#

  • 132.1.1.1 Define AudioDriver trait (enumerate, open, stream, close)
  • 132.1.1.2 Implement device enumeration with capabilities (rates, buffer sizes, channel counts)
  • 132.1.1.3 Create device capability negotiation (preferred vs supported)
  • 132.1.1.4 Implement stream lifecycle (prepare, start, stop, release)
  • 132.1.1.5 Create sample format abstraction (i16, i24, i32, f32, f64)
  • 132.1.1.6 Implement interleaved and planar buffer layouts
  • 132.1.1.7 Create channel mapping and reordering
  • 132.1.1.8 Implement hot-plug detection and device change notification
  • 132.1.1.9 Create exclusive vs shared mode support
  • 132.1.1.10 Implement duplex (input+output) streaming
  • 132.1.1.11 Create multi-device aggregation (aggregate device)
  • 132.1.1.12 Implement xrun (underrun/overrun) detection and recovery
  • 132.1.1.13 Create driver-level buffer prefill and priming
  • 132.1.1.14 Implement sample-rate drift correction with resampler
  • 132.1.1.15 Create driver diagnostics (latency measurement, capability report)

132.1.2 CoreAudio Driver (macOS / iOS)#

  • 132.1.2.1 Implement AudioHardwarePlugIn discovery
  • 132.1.2.2 Create AUHAL unit wiring with kAudioUnitType_Output
  • 132.1.2.3 Implement IOProc render callback with AudioBufferList
  • 132.1.2.4 Create AudioDeviceIOProcIDWithBlock for dispatch integration
  • 132.1.2.5 Implement HAL property listeners (device/stream property changes)
  • 132.1.2.6 Create aggregate device management via kAudioAggregateDeviceClassID
  • 132.1.2.7 Implement nominal sample rate negotiation
  • 132.1.2.8 Create IO buffer frame size negotiation
  • 132.1.2.9 Implement device safety offset and latency reporting
  • 132.1.2.10 Create AudioFormat conversion for PCM/CAF/AAC sources
  • 132.1.2.11 Implement Voice Processing IO unit for echo cancellation
  • 132.1.2.12 Create exclusive access via kAudioDevicePropertyHogMode
  • 132.1.2.13 Implement iOS AVAudioSession category/option management
  • 132.1.2.14 Create iOS inter-app audio (IAA) and AudioUnit v3 extensions
  • 132.1.2.15 Implement workgroup/join for thread priority on Apple Silicon

132.1.3 ASIO Driver (Windows)#

  • 132.1.3.1 Implement Steinberg ASIO SDK COM loader
  • 132.1.3.2 Create driver discovery via registry and UUID resolution
  • 132.1.3.3 Implement IASIO::createBuffers and releaseBuffers lifecycle
  • 132.1.3.4 Create ASIOBufferSwitch callback with double-buffer handoff
  • 132.1.3.5 Implement ASIOSampleType mapping (Int16/24/32, Float32/64 MSB/LSB)
  • 132.1.3.6 Create ASIOBufferInfo channel routing
  • 132.1.3.7 Implement sample rate set/get with driver rejection handling
  • 132.1.3.8 Create buffer size negotiation (minimum/maximum/preferred/granularity)
  • 132.1.3.9 Implement ASIOTimeInfo and ASIOTimeCode for host sync
  • 132.1.3.10 Create latency reporting (input/output in samples)
  • 132.1.3.11 Implement clock source selection (internal/external/ADAT/word)
  • 132.1.3.12 Create ASIO Control Panel invocation
  • 132.1.3.13 Implement ASIO-to-COM apartment threading isolation
  • 132.1.3.14 Create ASIO4ALL interop for consumer hardware
  • 132.1.3.15 Implement crash-safe driver unload on session end

132.1.4 WASAPI Driver (Windows)#

  • 132.1.4.1 Implement IMMDeviceEnumerator discovery
  • 132.1.4.2 Create IAudioClient initialization in shared and exclusive modes
  • 132.1.4.3 Implement event-driven callback with SetEventHandle
  • 132.1.4.4 Create IAudioRenderClient and IAudioCaptureClient buffer access
  • 132.1.4.5 Implement WAVEFORMATEXTENSIBLE with KSDATAFORMAT_SUBTYPE_IEEE_FLOAT
  • 132.1.4.6 Create exclusive-mode format negotiation (IsFormatSupported)
  • 132.1.4.7 Implement Windows Audio Session Manager category assignment
  • 132.1.4.8 Create loopback capture for system audio recording
  • 132.1.4.9 Implement MMCSS (Pro Audio) thread priority
  • 132.1.4.10 Create IAudioClock/IAudioClock2 position tracking
  • 132.1.4.11 Implement buffer size in REFERENCE_TIME with drift adaptation
  • 132.1.4.12 Create endpoint volume and mute abstraction (IAudioEndpointVolume)
  • 132.1.4.13 Implement default-device change notification
  • 132.1.4.14 Create AAC/MP3 offload support where device-capable
  • 132.1.4.15 Implement fallback to DirectSound / MME when WASAPI unavailable

132.1.5 JACK Driver (Linux / macOS / Windows)#

  • 132.1.5.1 Implement libjack client registration (jack_client_open)
  • 132.1.5.2 Create port registration (input/output, audio/MIDI)
  • 132.1.5.3 Implement jack_set_process_callback realtime handler
  • 132.1.5.4 Create port connection/disconnection API
  • 132.1.5.5 Implement jack_activate / jack_deactivate lifecycle
  • 132.1.5.6 Create JACK transport state master/slave sync
  • 132.1.5.7 Implement BBT (bar/beat/tick) timebase callback
  • 132.1.5.8 Create JACK MIDI buffer read/write
  • 132.1.5.9 Implement session management (jack_session_event)
  • 132.1.5.10 Create JACK2 metadata API usage
  • 132.1.5.11 Implement JACK-in-WASAPI bridge on Windows
  • 132.1.5.12 Create jackd auto-start detection
  • 132.1.5.13 Implement latency callback reporting
  • 132.1.5.14 Create buffer-size change callback handling
  • 132.1.5.15 Implement graceful shutdown on jack_shutdown

132.1.6 PipeWire / PulseAudio / ALSA Driver (Linux)#

  • 132.1.6.1 Implement PipeWire pw_main_loop integration
  • 132.1.6.2 Create PipeWire node/stream registration
  • 132.1.6.3 Implement SPA pod format negotiation
  • 132.1.6.4 Create PipeWire filter graph interop
  • 132.1.6.5 Implement PulseAudio simple API fallback
  • 132.1.6.6 Create PulseAudio context + stream for pro scenarios
  • 132.1.6.7 Implement ALSA PCM device open/prepare/start
  • 132.1.6.8 Create snd_pcm_hw_params capability negotiation
  • 132.1.6.9 Implement ALSA snd_pcm_writei / readi loops
  • 132.1.6.10 Create ALSA MMAP access mode for low latency
  • 132.1.6.11 Implement ALSA sequencer for MIDI
  • 132.1.6.12 Create UCM (Use Case Manager) profile loading
  • 132.1.6.13 Implement dmix/dsnoop plug integration
  • 132.1.6.14 Create xrun recovery with snd_pcm_prepare
  • 132.1.6.15 Implement ALSA control API for hardware mixer

132.1.7 AAudio / OpenSL ES Driver (Android)#

  • 132.1.7.1 Implement AAudioStreamBuilder and stream creation
  • 132.1.7.2 Create performance-mode LOW_LATENCY and POWER_SAVING selection
  • 132.1.7.3 Implement data callback with onAudioReady
  • 132.1.7.4 Create AAudio timestamp and frame position tracking
  • 132.1.7.5 Implement session ID and audio usage/content type
  • 132.1.7.6 Create Oboe wrapper for API-level compatibility
  • 132.1.7.7 Implement OpenSL ES fallback on pre-Oreo devices
  • 132.1.7.8 Create disconnection event handling
  • 132.1.7.9 Implement MMAP NOIRQ path for sub-10ms latency
  • 132.1.7.10 Create bluetooth A2DP profile detection
  • 132.1.7.11 Implement USB audio class 2 device routing
  • 132.1.7.12 Create spatial audio (Android 13+ Spatializer)
  • 132.1.7.13 Implement ducking for voice-call interruption
  • 132.1.7.14 Create Android audio focus management
  • 132.1.7.15 Implement JNI bridge to Rust runtime

132.2 @neith/audio-graph — Low-Latency Real-Time Audio Graph#

Lock-free deterministic audio graph that hosts the driver callback and routes audio/MIDI between tracks, buses, sends, plugins, instruments, and outputs.

132.2.1 Graph Topology#

  • 132.2.1.1 Implement node graph with typed audio/MIDI/CV ports
  • 132.2.1.2 Create directed acyclic graph validation (cycle detection)
  • 132.2.1.3 Implement topological sort for execution order
  • 132.2.1.4 Create sub-graph (bus) nesting with render order
  • 132.2.1.5 Implement send/receive pre-fader and post-fader taps
  • 132.2.1.6 Create sidechain input routing
  • 132.2.1.7 Implement parallel compression split/merge
  • 132.2.1.8 Create multi-channel bus (stereo, 5.1, 7.1, 7.1.4, Atmos bed)
  • 132.2.1.9 Implement matrix mixer with arbitrary channel-count routing
  • 132.2.1.10 Create feedback-suppression loop detection
  • 132.2.1.11 Implement scene recall with atomic graph swap
  • 132.2.1.12 Create audio-rate parameter ports
  • 132.2.1.13 Implement block-size mismatch reconciliation
  • 132.2.1.14 Create graph checkpoint/snapshot for undo
  • 132.2.1.15 Implement graph diff and incremental recompilation

132.2.2 Real-Time Scheduler#

  • 132.2.2.1 Implement single-threaded audio callback executor
  • 132.2.2.2 Create multi-threaded parallel node execution via work-stealing
  • 132.2.2.3 Implement lock-free SPSC message queue from UI to audio thread
  • 132.2.2.4 Create atomic parameter fan-in with lock-free ring buffer
  • 132.2.2.5 Implement RT-safe memory allocator (pool, fixed-size)
  • 132.2.2.6 Create denormal/subnormal suppression (FTZ, DAZ)
  • 132.2.2.7 Implement RT thread affinity pinning and priority elevation
  • 132.2.2.8 Create audio thread watchdog and deadline tracking
  • 132.2.2.9 Implement spike/overrun telemetry with per-node timing
  • 132.2.2.10 Create RT assertion system (no-alloc, no-lock, no-syscall)
  • 132.2.2.11 Implement CPU-usage meter with per-plugin attribution
  • 132.2.2.12 Create audio-dropout recovery and resume
  • 132.2.2.13 Implement deterministic render mode for offline bounces
  • 132.2.2.14 Create SIMD-vectorized inner loops (SSE/AVX/NEON)
  • 132.2.2.15 Implement block-size sub-division for low-latency PDC

132.2.3 Plugin Delay Compensation (PDC)#

  • 132.2.3.1 Implement per-node latency reporting aggregation
  • 132.2.3.2 Create global PDC max-latency calculation
  • 132.2.3.3 Implement per-lane delay line insertion to align mix bus
  • 132.2.3.4 Create automation-lane delay compensation
  • 132.2.3.5 Implement sidechain PDC with look-ahead
  • 132.2.3.6 Create PDC disable mode for tracking/low-latency monitor
  • 132.2.3.7 Implement runtime PDC change with smooth transition
  • 132.2.3.8 Create PDC reporting UI and visualization
  • 132.2.3.9 Implement negative-delay (look-ahead) support in plugins
  • 132.2.3.10 Create automation pre-roll offset for PDC plugins

132.2.4 Oversampling & Sample-Rate Conversion#

  • 132.2.4.1 Implement polyphase FIR oversampler (2x/4x/8x/16x)
  • 132.2.4.2 Create linear-phase and minimum-phase filter variants
  • 132.2.4.3 Implement Kaiser-windowed sinc resampler
  • 132.2.4.4 Create fractional sample-rate conversion (asynchronous SRC)
  • 132.2.4.5 Implement per-plugin oversampling wrapper
  • 132.2.4.6 Create antialiasing filter design tool
  • 132.2.4.7 Implement HF saturation-aware oversampling
  • 132.2.4.8 Create listening-test harness for SRC quality (THD+N)
  • 132.2.4.9 Implement varispeed playback with pitch-preserving mode
  • 132.2.4.10 Create per-track sample-rate conversion for mixed-rate projects

132.3 @neith/vst3-host — VST3 Plugin Hosting#

Full Steinberg VST3 SDK host implementation; passes Steinberg Validator.

132.3.1 Plugin Discovery & Loading#

  • 132.3.1.1 Implement VST3 bundle/module loading across macOS/Win/Linux
  • 132.3.1.2 Create plugin factory query (IPluginFactory3)
  • 132.3.1.3 Implement class enumeration and category filter
  • 132.3.1.4 Create plugin metadata extraction (name, vendor, version, SDK)
  • 132.3.1.5 Implement Moduleinfo.json manifest parsing
  • 132.3.1.6 Create out-of-process scan helper for crash isolation
  • 132.3.1.7 Implement validated-plugin cache with versioned invalidation
  • 132.3.1.8 Create blacklist for known-bad plugins
  • 132.3.1.9 Implement signature verification on macOS (codesign)
  • 132.3.1.10 Create scan progress UI with fail-fast timeouts

132.3.2 Processing & Components#

  • 132.3.2.1 Implement IComponent activation and setupProcessing
  • 132.3.2.2 Create IAudioProcessor process() call with ProcessData
  • 132.3.2.3 Implement ProcessContext (sampleRate, tempo, timeSig, PPQ, SMPTE)
  • 132.3.2.4 Create ProcessSetup mode switching (kRealtime/kOffline/kPrefetch)
  • 132.3.2.5 Implement symbolic sample size (kSample32/kSample64)
  • 132.3.2.6 Create IAudioProcessor::canProcessSampleSize query
  • 132.3.2.7 Implement getLatencySamples reporting into PDC
  • 132.3.2.8 Create getTailSamples for reverb/delay tail handling
  • 132.3.2.9 Implement bus arrangement negotiation (canBusesBeActivated)
  • 132.3.2.10 Create IAudioPresentationLatency for device compensation

132.3.3 Parameters & State#

  • 132.3.3.1 Implement IEditController parameter enumeration
  • 132.3.3.2 Create automation state (begin/perform/end edit)
  • 132.3.3.3 Implement getParamNormalized / setParamNormalized bridge
  • 132.3.3.4 Create parameter flags (canAutomate, isReadOnly, isBypass)
  • 132.3.3.5 Implement parameter ID mapping stability across versions
  • 132.3.3.6 Create IMidiMapping for CC-to-parameter learn
  • 132.3.3.7 Implement IUnitInfo for hierarchical parameter grouping
  • 132.3.3.8 Create program list / preset enumeration
  • 132.3.3.9 Implement state save/load via IBStream and Preset format
  • 132.3.3.10 Create full-chunk vs component state isolation

132.3.4 Editor & UI#

  • 132.3.4.1 Implement IPlugView creation and attached/removed lifecycle
  • 132.3.4.2 Create platform view parent (HWND/NSView/X11 Window)
  • 132.3.4.3 Implement IPlugFrame resizeView protocol
  • 132.3.4.4 Create DPI-aware size negotiation and scaling
  • 132.3.4.5 Implement IContextMenu for host-provided actions
  • 132.3.4.6 Create key handling pass-through
  • 132.3.4.7 Implement embedded view lifecycle safety (z-order, focus)
  • 132.3.4.8 Create headless/UI-less parameter-only mode

132.3.5 Advanced Features#

  • 132.3.5.1 Implement note expression (per-note pitch/volume/timbre)
  • 132.3.5.2 Create IKeyswitchController for sample-lib articulations
  • 132.3.5.3 Implement IProcessContextRequirements tempo/bar request
  • 132.3.5.4 Create side-chain input bus routing
  • 132.3.5.5 Implement IXmlRepresentation for host parameter trees
  • 132.3.5.6 Create NoteID tracking for polyphonic expression
  • 132.3.5.7 Implement event list input/output (MIDI, note-on/off, CC)
  • 132.3.5.8 Create remote-preset JSON format support
  • 132.3.5.9 Implement multi-channel output enumeration (N stereo pairs)
  • 132.3.5.10 Create IAutomationState (playing/writing/reading/none)

132.4 @neith/au-host — Audio Unit (AU) Hosting (macOS / iOS)#

Apple Audio Unit host supporting AUv2 and AUv3 formats.

132.4.1 Discovery#

  • 132.4.1.1 Implement AudioComponentFindNext enumeration
  • 132.4.1.2 Create AudioUnit component description filter
  • 132.4.1.3 Implement AUv3 app-extension discovery via NSExtension
  • 132.4.1.4 Create icon and metadata extraction from NSBundle
  • 132.4.1.5 Implement v2→v3 bridge detection

132.4.2 Lifecycle#

  • 132.4.2.1 Implement AudioComponentInstanceNew/Dispose
  • 132.4.2.2 Create AudioUnitInitialize/Uninitialize
  • 132.4.2.3 Implement stream format negotiation (kAudioUnitProperty_StreamFormat)
  • 132.4.2.4 Create AURenderCallbackStruct for pull-based rendering
  • 132.4.2.5 Implement kAudioUnitProperty_Latency query
  • 132.4.2.6 Create kAudioUnitProperty_TailTime query
  • 132.4.2.7 Implement offline rendering mode
  • 132.4.2.8 Create parameter enumeration (AudioUnitParameterInfo)
  • 132.4.2.9 Implement AUEventSampleTime automation stream
  • 132.4.2.10 Create preset save/load via AUPreset CFDictionary

132.4.3 MIDI & Events#

  • 132.4.3.1 Implement MusicDeviceMIDIEvent for AUv2 MIDI input
  • 132.4.3.2 Create MIDI output capture (AUMIDIEventListBlock AUv3)
  • 132.4.3.3 Implement scheduled event timeline
  • 132.4.3.4 Create MIDI-2.0 UMP forwarding to AUv3 hosts
  • 132.4.3.5 Implement MPE per-channel routing

132.4.4 AUv3 App Extensions#

  • 132.4.4.1 Implement NSExtension matching for auv3 extensions
  • 132.4.4.2 Create XPC-based out-of-process hosting
  • 132.4.4.3 Implement AUViewController embedding
  • 132.4.4.4 Create state restoration via fullState/fullStateForDocument
  • 132.4.4.5 Implement supportsUserPresets/factoryPresets
  • 132.4.4.6 Create iOS inter-app audio replacement (AUv3 only)
  • 132.4.4.7 Implement sandbox entitlement verification

132.5 @neith/lv2-host — LV2 Plugin Hosting (Linux / cross-platform)#

LV2 is the sovereign, free-software-friendly plugin format. First-class host.

132.5.1 Bundle Discovery#

  • 132.5.1.1 Implement LV2_PATH environment resolution
  • 132.5.1.2 Create Turtle (.ttl) manifest parser (RDF)
  • 132.5.1.3 Implement lilv world creation and bundle loading
  • 132.5.1.4 Create plugin class taxonomy traversal
  • 132.5.1.5 Implement required/optional feature advertisement

132.5.2 Runtime#

  • 132.5.2.1 Implement lilv_plugin_instantiate with feature array
  • 132.5.2.2 Create port connection via lilv_instance_connect_port
  • 132.5.2.3 Implement atom-sequence event ports
  • 132.5.2.4 Create URID mapping table (LV2_URID__map)
  • 132.5.2.5 Implement worker-thread extension (LV2_WORKER)
  • 132.5.2.6 Create state-save extension (LV2_STATE__interface)
  • 132.5.2.7 Implement buffer-size extension (fixed, bounded, powerOf2)
  • 132.5.2.8 Create options extension for host-side feature flags
  • 132.5.2.9 Implement log extension routing plugin messages
  • 132.5.2.10 Create time-position atom for tempo/bar broadcast

132.5.3 UI#

  • 132.5.3.1 Implement Suil UI host wrapper
  • 132.5.3.2 Create Gtk/Qt/X11/WebKit UI binding
  • 132.5.3.3 Implement parent window embedding
  • 132.5.3.4 Create touch/resize event forwarding
  • 132.5.3.5 Implement headless parameter-only UI fallback

132.6 @neith/clap-host — CLAP Plugin Hosting#

CLAP is the emerging modern, open, thread-safe plugin standard.

132.6.1 Discovery & Lifecycle#

  • 132.6.1.1 Implement .clap bundle loading (dylib/dll/so)
  • 132.6.1.2 Create clap_plugin_factory lookup
  • 132.6.1.3 Implement plugin descriptor enumeration
  • 132.6.1.4 Create clap_plugin_create and destroy lifecycle
  • 132.6.1.5 Implement init/activate/deactivate/start_processing/stop_processing
  • 132.6.1.6 Create audio port list query (input/output)
  • 132.6.1.7 Implement note port list query
  • 132.6.1.8 Create process() with clap_process struct
  • 132.6.1.9 Implement clap_host_latency update
  • 132.6.1.10 Create extension query via get_extension

132.6.2 Extensions#

  • 132.6.2.1 Implement clap.params (parameters)
  • 132.6.2.2 Create clap.state (state save/load)
  • 132.6.2.3 Implement clap.state-context (preset vs project state)
  • 132.6.2.4 Create clap.note-ports (typed MIDI/note-expression)
  • 132.6.2.5 Implement clap.audio-ports (port add/remove)
  • 132.6.2.6 Create clap.audio-ports-config for alternate configs
  • 132.6.2.7 Implement clap.gui (UI windowing)
  • 132.6.2.8 Create clap.timer-support for plugin UI animation
  • 132.6.2.9 Implement clap.posix-fd-support for plugin fd callbacks
  • 132.6.2.10 Create clap.thread-check and thread-pool extensions
  • 132.6.2.11 Implement clap.log routing
  • 132.6.2.12 Create clap.preset-load and preset-discovery-factory
  • 132.6.2.13 Implement clap.render (realtime/offline)
  • 132.6.2.14 Create clap.tail / clap.latency / clap.tuning
  • 132.6.2.15 Implement clap.voice-info and note-name extension

132.7 @neith/plugin-sandbox — Plugin Isolation & Crash Safety#

Out-of-process plugin execution to isolate third-party code from the host.

132.7.1 Sandbox Runtime#

  • 132.7.1.1 Implement child-process spawn per plugin group
  • 132.7.1.2 Create shared-memory audio ring buffers (POSIX shm / Windows file mapping)
  • 132.7.1.3 Implement lock-free cross-process SPSC queues
  • 132.7.1.4 Create low-latency IPC with futex / event-pair signaling
  • 132.7.1.5 Implement deadline-bound wait with overrun detection
  • 132.7.1.6 Create parameter/MIDI event proxy serialization
  • 132.7.1.7 Implement graceful plugin-crash recovery
  • 132.7.1.8 Create auto-restart with state replay
  • 132.7.1.9 Implement sandboxed filesystem view for plugin resources
  • 132.7.1.10 Create per-plugin seccomp/AppContainer restriction profile

132.7.2 UI Bridging#

  • 132.7.2.1 Implement remote plugin UI host window
  • 132.7.2.2 Create platform-specific view reparenting across processes
  • 132.7.2.3 Implement keyboard/mouse forwarding across IPC
  • 132.7.2.4 Create DPI and color-space propagation
  • 132.7.2.5 Implement resize protocol with flicker avoidance

132.8 @neith/midi-io — MIDI I/O (1.0, 2.0, MPE, RTP-MIDI)#

Comprehensive MIDI input/output stack beyond the sequencer-layer in 44.3.3.

132.8.1 Platform MIDI Services#

  • 132.8.1.1 Implement CoreMIDI (macOS / iOS)
  • 132.8.1.2 Create Windows MIDI (winmm + Windows MIDI Services preview)
  • 132.8.1.3 Implement ALSA seq (Linux)
  • 132.8.1.4 Create WebMIDI backend for browser runtime
  • 132.8.1.5 Implement Android MIDI (AMidi) service

132.8.2 MIDI 2.0#

  • 132.8.2.1 Implement Universal MIDI Packet (UMP) encode/decode
  • 132.8.2.2 Create Group/Channel voice message handling
  • 132.8.2.3 Implement per-note pitch and per-note attribute
  • 132.8.2.4 Create Property Exchange (PE) JSON transaction
  • 132.8.2.5 Implement MIDI-CI (Capability Inquiry) handshake
  • 132.8.2.6 Create Profile Configuration negotiation
  • 132.8.2.7 Implement 32-bit data resolution translation
  • 132.8.2.8 Create MIDI 2.0 → 1.0 downgrade path

132.8.3 MPE & Routing#

  • 132.8.3.1 Implement MPE zone (lower/upper) management
  • 132.8.3.2 Create master / member channel allocation
  • 132.8.3.3 Implement per-note pitch-bend / pressure / timbre
  • 132.8.3.4 Create MPE→MIDI2 UMP promotion
  • 132.8.3.5 Implement virtual MIDI ports for inter-app routing
  • 132.8.3.6 Create RTP-MIDI (AppleMIDI) network session
  • 132.8.3.7 Implement ipMIDI multicast
  • 132.8.3.8 Create MIDI filter / transform nodes in graph
  • 132.8.3.9 Implement MIDI clock / MTC transmit and receive
  • 132.8.3.10 Create SysEx dump / receive with flow control

132.9 @neith/net-audio — Network Audio (Dante / AES67 / AVB / NDI / RAVENNA)#

Network audio beyond Uzume's show-control level — pro-audio streams into/out of the sovereign DAW, mixer, and engine.

132.9.1 Protocol Stack#

  • 132.9.1.1 Implement RTP/AES67 sender and receiver
  • 132.9.1.2 Create SAP/SDP session announcement
  • 132.9.1.3 Implement PTP IEEE 1588-2019 slave and master clock
  • 132.9.1.4 Create PTPv2 BMCA (Best Master Clock Algorithm)
  • 132.9.1.5 Implement AVB/TSN gPTP and SRP streams (IEEE 802.1Qav)
  • 132.9.1.6 Create Milan-profile compliance
  • 132.9.1.7 Implement Dante Domain Manager API client
  • 132.9.1.8 Create Dante DDM enrollment and channel subscription
  • 132.9.1.9 Implement RAVENNA protocol parity with AES67
  • 132.9.1.10 Create NDI 5+ sender and receiver

132.9.2 Discovery & Control#

  • 132.9.2.1 Implement mDNS/Bonjour service discovery
  • 132.9.2.2 Create AES70 (OCA) device control
  • 132.9.2.3 Implement Ember+ broadcast-control bridge
  • 132.9.2.4 Create NMOS IS-04/IS-05/IS-08 for broadcast discovery
  • 132.9.2.5 Implement flow monitoring and PTP lock status dashboard

132.10 @neith/controllers — Hardware Controller Integration#

First-class support for professional control surfaces.

132.10.1 Protocols#

  • 132.10.1.1 Implement Mackie Control Universal (MCU) protocol
  • 132.10.1.2 Create HUI protocol (Pro Tools legacy)
  • 132.10.1.3 Implement EuCon protocol (Avid S-series)
  • 132.10.1.4 Create OSC standard controller schema
  • 132.10.1.5 Implement custom Lua/WASM controller script engine
  • 132.10.1.6 Create generic HID MIDI controller templates

132.10.2 Specific Hardware Profiles#

  • 132.10.2.1 Ableton Push 2/3 integration (LED grid, pads, encoders)
  • 132.10.2.2 Native Instruments Maschine / Komplete Kontrol (NIHIA)
  • 132.10.2.3 Akai APC / MPK / MPC series
  • 132.10.2.4 Novation Launchpad / Launchkey / SL MK III
  • 132.10.2.5 ROLI Seaboard / LUMI (MPE)
  • 132.10.2.6 Expressive E Osmose / Touché (MPE)
  • 132.10.2.7 Presonus Faderport / Studio One surfaces
  • 132.10.2.8 Avid S1 / S3 / S4 / S6 via EuCon
  • 132.10.2.9 Behringer X-Touch / X32 control surface
  • 132.10.2.10 Stream Deck / Loupedeck integration

132.10.3 Mapping & Learn#

  • 132.10.3.1 Implement MIDI-learn (CC/note to parameter)
  • 132.10.3.2 Create template system with import/export
  • 132.10.3.3 Implement context-sensitive mapping (per plugin / track)
  • 132.10.3.4 Create macro control with multi-parameter mapping
  • 132.10.3.5 Implement feedback LED/motor-fader/display update
  • 132.10.3.6 Create pickup / jump / scale modes for parameter takeover

132.11 @neith/transport — Transport, Clock, and Sync#

Project-wide transport and synchronization.

132.11.1 Transport#

  • 132.11.1.1 Implement play/stop/record/rewind/fast-forward state machine
  • 132.11.1.2 Create locator (cycle) markers
  • 132.11.1.3 Implement pre-roll / post-roll
  • 132.11.1.4 Create chase-lock modes
  • 132.11.1.5 Implement jog / shuttle / scrub playback
  • 132.11.1.6 Create loop recording with take management
  • 132.11.1.7 Implement punch in/out automation

132.11.2 Clock & Sync#

  • 132.11.2.1 Implement internal master clock (sample-accurate)
  • 132.11.2.2 Create MIDI clock master and slave
  • 132.11.2.3 Implement MTC (MIDI Time Code) Quarter Frame
  • 132.11.2.4 Create LTC (Linear Time Code) reader/writer
  • 132.11.2.5 Implement SMPTE 24/25/29.97/30 drop/non-drop
  • 132.11.2.6 Create Word Clock / SPDIF sync input
  • 132.11.2.7 Implement ADAT / MADI / AES3 clock input
  • 132.11.2.8 Create Ableton Link protocol (peer-to-peer tempo sync)
  • 132.11.2.9 Implement sample-accurate host sync to external clock
  • 132.11.2.10 Create drift correction with sample-rate conversion

132.12 @neith/audio-fileio — Audio File I/O#

File-format layer feeding the graph and receiving bounces.

132.12.1 Formats#

  • 132.12.1.1 WAV (RIFF) up to 32-bit float
  • 132.12.1.2 BWF (Broadcast Wave) with bext chunk and iXML
  • 132.12.1.3 RF64 for >4 GB WAV files
  • 132.12.1.4 AIFF / AIFC
  • 132.12.1.5 CAF (Core Audio Format)
  • 132.12.1.6 FLAC (lossless, multichannel)
  • 132.12.1.7 Ogg Vorbis / Opus
  • 132.12.1.8 MP3 (LAME encoder, decode via libmpg123)
  • 132.12.1.9 AAC / HE-AAC (via sovereign FDK fork)
  • 132.12.1.10 WavPack hybrid lossless
  • 132.12.1.11 DSD (DSF, DFF) playback and conversion
  • 132.12.1.12 MXF audio essence (BWF in MXF)
  • 132.12.1.13 ADM BWF (Audio Definition Model) for Atmos/object audio
  • 132.12.1.14 IAMF (Immersive Audio Model and Formats)
  • 132.12.1.15 SoundFont2 / SFZ / DecentSampler format readers

132.12.2 Metadata#

  • 132.12.2.1 iXML metadata read/write
  • 132.12.2.2 BWF broadcast-wave chunk (originator, timecode)
  • 132.12.2.3 ID3v2 tag for MP3
  • 132.12.2.4 Vorbis Comment
  • 132.12.2.5 CAF kuki chunk for codec state
  • 132.12.2.6 ADM AudioPackFormat / AudioObject XML

132.13 @neith/plugin-validator — Plugin Scanning & Validation#

Automated pre-flight and nightly plugin health checks.

  • 132.13.1 Implement Steinberg Validator test-suite runner for VST3
  • 132.13.2 Create Apple auval runner wrapper for AU
  • 132.13.3 Implement lv2lint integration for LV2 bundles
  • 132.13.4 Create clap-validator integration
  • 132.13.5 Implement latency self-test (DC-step and impulse)
  • 132.13.6 Create CPU cost profiling with synthesized workload
  • 132.13.7 Implement memory-leak detection via sanitizer adapter
  • 132.13.8 Create state round-trip test (save→load→bit-identical)
  • 132.13.9 Implement automation determinism test
  • 132.13.10 Create DAW-lock freeze detection with watchdog

132.14 @neith/audio-telemetry — Metering, Analysis, and Diagnostics#

Shared meters/analyzers that all audio surfaces consume.

  • 132.14.1 Peak / RMS / VU / PPM / K-meter implementations
  • 132.14.2 EBU R128 Integrated / Short-term / Momentary LUFS
  • 132.14.3 ATSC A/85 and ITU-R BS.1770-5 loudness
  • 132.14.4 True-peak (ISP) estimation with 4x oversampling
  • 132.14.5 Loudness Range (LRA)
  • 132.14.6 Stereo correlation / phase meter
  • 132.14.7 Goniometer / vectorscope
  • 132.14.8 FFT spectrum analyzer with window selection
  • 132.14.9 Sonogram / waterfall display
  • 132.14.10 Per-frequency phase response
  • 132.14.11 Intelligibility / STI meter for dialogue
  • 132.14.12 Atmos binaural monitoring with individualized HRTF
  • 132.14.13 Tempo and key detection (offline analysis)
  • 132.14.14 Transient and onset detection
  • 132.14.15 Audio fingerprint hash (for originality/copyright gates)

Phase 132 Summary — Sovereign Audio Runtime & Plugin Platform#

Library Section Tasks
@neith/audio-runtime 132.1 105
@neith/audio-graph 132.2 50
@neith/vst3-host 132.3 48
@neith/au-host 132.4 27
@neith/lv2-host 132.5 20
@neith/clap-host 132.6 25
@neith/plugin-sandbox 132.7 15
@neith/midi-io 132.8 23
@neith/net-audio 132.9 15
@neith/controllers 132.10 22
@neith/transport 132.11 17
@neith/audio-fileio 132.12 21
@neith/plugin-validator 132.13 10
@neith/audio-telemetry 132.14 15
Phase 132 Total 413