┌─────────────────────────────────────────┐
│ VoluMod System │
└─────────────────────────────────────────┘
┌──────────────────────────────────┐ ┌──────────────────────────────────┐
│ System Application (V) │ │ Browser Extension (ReScript) │
│ │ │ │
│ ┌────────────────────────────┐ │ │ ┌────────────────────────────┐ │
│ │ Platform Audio Capture │ │ │ │ Web Audio API Capture │ │
│ │ (PipeWire/PulseAudio/ │ │ │ │ (AudioWorklet) │ │
│ │ WASAPI/CoreAudio) │ │ │ │ │ │
│ └────────────┬───────────────┘ │ │ └────────────┬───────────────┘ │
│ │ │ │ │ │
│ ┌────────────▼───────────────┐ │ │ ┌────────────▼───────────────┐ │
│ │ Lookahead Buffer │ │ │ │ Processing Chain │ │
│ │ (50-100ms circular) │ │ │ │ (Normalizer → Compressor │ │
│ └────────────┬───────────────┘ │ │ │ → NoiseReducer → EQ) │ │
│ │ │ │ └────────────┬───────────────┘ │
│ ┌────────────▼───────────────┐ │ │ │ │
│ │ Processing Chain │ │ │ ┌────────────▼───────────────┐ │
│ │ ┌─────────────────────┐ │ │ │ │ Output to Browser Tab │ │
│ │ │ Noise Reduction │ │ │ │ └────────────────────────────┘ │
│ │ └─────────┬───────────┘ │ │ │ │
│ │ ┌─────────▼───────────┐ │ │ │ ┌────────────────────────────┐ │
│ │ │ Normalization │ │ │ │ │ Extension Popup UI │ │
│ │ │ (RMS → -14 LUFS) │ │ │ │ │ (Bypass, Presets) │ │
│ │ └─────────┬───────────┘ │ │ │ └────────────────────────────┘ │
│ │ ┌─────────▼───────────┐ │ │ └──────────────────────────────────┘
│ │ │ Compression (AGC) │ │ │
│ │ └─────────┬───────────┘ │ │
│ │ ┌─────────▼───────────┐ │ │ ┌──────────────────────────────────┐
│ │ │ Equalization │ │ │ │ Shared Layer │
│ │ │ (10-band adaptive) │ │ │ │ │
│ │ └─────────┬───────────┘ │ │ │ ┌────────────────────────────┐ │
│ │ ┌─────────▼───────────┐ │ │ │ │ Bebop Bridge (IPC) │ │
│ │ │ Brick-wall Limiter │ │ │ │ └────────────────────────────┘ │
│ │ └─────────────────────┘ │ │ │ │
│ └────────────┬───────────────┘ │ │ ┌────────────────────────────┐ │
│ │ │ │ │ Idris2 ABI Definitions │ │
│ ┌────────────▼───────────────┐ │ │ │ (Formal type proofs) │ │
│ │ Context Manager │ │ │ └────────────────────────────┘ │
│ │ (Time-of-day, Device, │ │ │ │
│ │ Environment) │ │ │ ┌────────────────────────────┐ │
│ └────────────┬───────────────┘ │ │ │ Zig FFI Implementation │ │
│ │ │ │ │ (C-compatible bridge) │ │
│ ┌────────────▼───────────────┐ │ │ └────────────────────────────┘ │
│ │ System Tray UI │ │ └──────────────────────────────────┘
│ │ (WCAG 2.1 AA) │ │
│ └────────────────────────────┘ │
└──────────────────────────────────┘
Audio Signal Flow (Hybrid AGC)
─────────────────────────────
Loopback Lookahead RMS AGC Clamp to
Capture → Buffer → Calc → Adjust → Min/Max
(monitor) (50-100ms) (proxy (toward (compressed
for LUFS) target) range limiter)
| Component | Progress | Status |
|---|---|---|
Core DSP |
|
Compiles |
Processors |
|
Compiles |
Engine |
|
Compiles |
Browser Extension |
|
Compiles w/warnings |
UI / Tray |
|
Compiles |
Platform Capture |
|
Stub |
Bebop Bridge |
|
Stub |
ABI/FFI |
|
Template |
Unit Tests |
|
None |
Integration Tests |
|
None |
───────────────── |
─────────────────────────── |
─────────────── |
Overall |
|
Prototype |
VoluMod ├── V Compiler (0.4.12+) Build: system app ├── ReScript (12.x) Build: browser extension ├── Idris2 Build: ABI definitions ├── Zig Build: FFI implementation ├── PipeWire / PulseAudio Runtime: Linux audio capture ├── PortAudio Runtime: cross-platform fallback ├── Web Audio API Runtime: browser audio processing ├── Bebop Runtime: cross-language IPC │ ├── panic-attacker CI: vulnerability scanning ├── echidna CI: proof checking / fuzzing ├── hypatia CI: neurosymbolic intelligence └── gitbot-fleet CI: automated maintenance