How infinity-man/browser-noise-free-mic works
Browser Noise Free Mic is a static, privacy-first web app for 48 kHz neural noise reduction. Users capture or upload audio, choose an enhancement engine, process audio locally, then review, master, and export a take—or route enhanced microphone audio to a virtual cable for calls. The graph preserves the documented recording, live-mic, studio, model-training, persistence, and offline-PWA capabilities. Some page-level wiring is documented only in the README; edges based on it cite that file, and unsampled implementation details are not inferred.
Main entry points: outputController.js Studio Controller · audioEngine.js Enhancement Engine · input.html Capture and Upload · processing.html Processing Handoff
Components 17
Capture and Studio
- Capture and Upload
web/input.html - Processing Handoff
web/processing.html - Studio Console
web/output.html - Studio Controller
web/outputController.js
Audio Processing
- Audio Codec
web/audioCodec.js - Enhancement Engine
web/audioEngine.js - Mastering Chain
web/masteringChain.js
Live Mic
- Stream Worklet
web/streamWorklet.js
Local State and PWA
- Take and Preference Store
web/appStore.js - Shared UI Helpers
web/uiCommon.js - Offline Cache
web/sw.js
Models and Training
- Shipped ONNX Models
web/models - GTCRN Training and Export
training/train_gtcrn48k.py
Other components
- User
- Microphone and Audio Devices
- Virtual Cable
- Call or Recording App
Connections 22
- User → Capture and Upload: records or uploads
README.md - Capture and Upload → Processing Handoff: starts processing
README.md - Processing Handoff → Enhancement Engine: requests enhancement
README.md - Enhancement Engine → Shipped ONNX Models: loads model
web/audioEngine.js - Enhancement Engine → Mastering Chain: applies processing
web/audioEngine.js - Processing Handoff → Studio Console: opens result
README.md - Studio Console → Studio Controller: runs studio
README.md - Studio Controller → Take and Preference Store: loads take
web/outputController.js - Studio Controller → Audio Codec: exports audio
- User → Microphone and Audio Devices: selects input
README.md - Microphone and Audio Devices → Stream Worklet: streams audio
README.md - Stream Worklet → Studio Controller: sends frames
- Studio Controller → Enhancement Engine: processes live audio
web/outputController.js - Studio Controller → Stream Worklet: returns enhanced audio
web/outputController.js - Studio Controller → Virtual Cable: routes output
README.md - Virtual Cable → Call or Recording App: provides microphone
README.md - Studio Controller → Mastering Chain: uses live chain
- Capture and Upload → Audio Codec: decodes audio
- Studio Controller → Take and Preference Store: saves takes
- Shared UI Helpers → Take and Preference Store: persists takes
web/uiCommon.js - Offline Cache → Shipped ONNX Models: caches models
web/sw.js - GTCRN Training and Export → Shipped ONNX Models: exports weights
training/train_gtcrn48k.py