feat: Next-Gen Audio DSP Stack Architecture (Multi-Laptop Auto-Detection, 5.0ms Parallel Lookahead FIR, & Zero-Drop Stream Migration) #7
Reference in New Issue
Block a user
Delete Branch "nextgen-engine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary of Changes
This Pull Request introduces the Next-Gen Audio DSP Stack Architecture to
main:1. 💻 Multi-Laptop Profile Hierarchy & DMI Auto-Detection (Phase 1)
laptop-configs/<vendor>/<model>/hardware profile structure holding baseline driver WAVs, graph topology, andprofile.jsonmetadata.detect_hardware.pyto dynamically query Linux/sys/class/dmi/id/sysfs metadata (sys_vendorandproduct_name) to match hardware profiles automatically.detect_hardware.py:--help,--list-configs,--model,--manual,--profile,--json, and--quietwith fallback warning reporting.2. ⏱️ Parallel 5.0ms Lookahead Sidechain FIR Limiting (Phase 2)
bake-graph.pyto generate parallel advance control taps (baked-lookahead-*.wav) alongside main audio path FIRs (baked-*.wav).wlim/tlim) 5.0 ms before physical speaker output with 0.0 ms added listener buffer latency.3. 🎛️ User EQ Graph Merging & Hardware Interoperability
apply.shsojqalways mergesuser_eq.jsoninto both--bake(graph_simple.json) and un-baked graphs.capture.volumesinsidecapture.propsin PipeWire schema forloudness:volumecontrol binding.4. 🔄 Zero-Drop Stream Migration & Robust Service Reloads
pactl move-sink-inputiteration upon cold restart (HOT=0default).wp()helper with 1.5s timeout andcopy_file_safe()helper for smooth IPC and permission handling.5. 📄 Comprehensive Documentation (
ARCHITECTURE.md)ARCHITECTURE.mddocumenting single-pass LTI convolution, Mermaid processing flow diagrams, single-pass FIR baking steps, multi-laptop profile structures, and "Digital Surround" active crossover terminology.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.