English · 简体中文
A local, modular audio workbench. Connect microphones, application audio, denoising, voiceprint gating, speech recognition, translation, text-to-speech and multiple outputs in a processing graph. The WebUI supports English, Simplified Chinese and Japanese, with installable ZIP themes. The framework and basic processing modules use Apache-2.0; optional modules are distributed through the official module repository.
The current stable version is 0.3.1.
The primary target is 64-bit Windows 10/11, with standard CPython 3.11–3.15 for the framework. Local AI models currently require 3.11–3.14; Python 3.12 x64 is a useful starting point on a new computer. Application audio capture requires Windows build 20348 or later. Hotkeys, overlays and audio devices depend on the host system. Declared support does not mean every platform combination has been tested.
Extract the source into a writable directory such as C:\ObliviousMic. Open PowerShell in the project directory containing pyproject.toml:
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -e ".[web,devices,loudness,models,speech,translation]"
.\.venv\Scripts\python.exe -m pip checkCreate a new environment on each computer; do not copy a developer's .venv. These commands do not require environment activation or a PowerShell execution-policy change.
The selected extras provide the WebUI, device access, Loudness, ONNX support, the speech dependencies for Whisper and the translation dependencies for text translation. They do not install optional modules; install the corresponding packages from the module library afterward.
For a basic installation on Python 3.15, use .[web,devices,loudness,translation] or the same extras on the wheel. For local inference, use the Python version and dependencies specified by the module.
Git source does not include the compiled WebUI. Install Node.js 22.12+ and build it:
Push-Location frontend
npm ci
npm run build
Pop-LocationThe output should include src/obliviousmic/web/static/index.html. Skip this step only for a source test ZIP explicitly supplied with a prebuilt WebUI.
Start the service:
.\.venv\Scripts\python.exe -m obliviousmic serveOpen the address printed in the terminal, normally http://127.0.0.1:8765/. Keep the terminal running; press Ctrl+C to exit. Subsequent launches only require the last command.
Personal start.cmd scripts are not distributed with the source; an existing local launcher can still be used.
The wheel includes the compiled WebUI. Download the wheel and run these commands in the directory containing it. GitHub Releases
py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install ".\obliviousmic-0.3.1-py3-none-any.whl[web,devices,loudness,models,speech,translation]"
.\.venv\Scripts\python.exe -m pip check
.\.venv\Scripts\python.exe -m obliviousmic serveBoth methods need an internet connection to install Python dependencies. The framework wheel does not include Python, personal data, keys, optional module packages or model weights. It is not an offline installer.
| Option | Purpose |
|---|---|
--data-dir PATH |
Set the data directory. Defaults to ./data in the working directory at launch. |
--port 8766 |
Change the port; use the address printed by the service |
--token |
Enable optional access-token authentication; the default is token-free, local-only access |
--token YOUR_TOKEN |
Supply a specific token; never commit a real token |
Place these options after serve. Do not run two processes against the same data directory.
For all options, run .\.venv\Scripts\python.exe -m obliviousmic serve --help.
- Allow this virtual environment's Python to access the microphone in Windows privacy settings and any security-software prompt.
- A fresh installation or a new graph starts with
capture_1 → device_sink_1, without an automatic Loudness node. Add modules and connections as needed. - Save current configuration persists edits. Validate and apply prepares models and switches main; a failed application leaves the previous applied route in place.
- Select local devices under the applied graph's inputs and outputs on Home, then start the endpoint session. Successful graph application does not mean the audio devices have opened.
- Watch input/output levels, voiceprint confidence, node timings and drop/underrun counters. Stop devices before changing the route. Refresh the audio device list after connecting or disconnecting devices.
Only WASAPI devices are shown by default; enable the full list in Settings & support if needed. Device IDs, names, rates and channel counts may differ between computers and must be selected again.
To use processed audio as a game/chat microphone, you can install VB-CABLE: select CABLE Input as the ObliviousMic output and CABLE Output as the game's microphone. Use headphones for initial tests to avoid feedback.
Built-in processors include audio delay, gating, mixing, volume control and loudness normalization. Input and output nodes support devices, files, text, application audio and the hotkey soundboard.
Search Module library → Install new modules, or import an installer from the official Releases. Installation checks the declaration, source, package size and SHA-256. See the official module repository for each module's Python dependencies, service settings and model preparation. Restart the backend after manually adding dependencies.
Install the framework's models, speech, translation or openvino extras as needed. For example, from a source checkout run .\.venv\Scripts\python.exe -m pip install -e ".[openvino]". Wheel users can append the corresponding extras to their wheel path, such as .\obliviousmic-0.3.1-py3-none-any.whl[openvino].
The module and graph guide covers built-in nodes and examples. The discovery and installation guide explains badges and source checks. Both guides are in Chinese.
Configuration has two parts: processing graphs and module parameter tables. Model profiles are managed inside their module editor, without a separate global-configuration page. Each module retains at least one editable table. New tables start from the module's declared defaults. Nodes linked to the same table share parameters; create separate tables for different settings.
- Save settings persists a table. Supported hot parameters can also be saved and applied live to matching nodes in the active graph.
- Save current configuration persists graph structure, table references and route settings. Validate and apply makes the new route effective. Each graph stores preview and main, rather than an accumulating revision history.
- Model profiles are shared across code versions of the same module. Prepare, select and check resources in the module editor. Each module guide explains the assets or services it requires.
- Installing a new module version does not automatically change graph pins. Explicitly update a node, inspect settings and ports, then validate and apply. Old-version cleanup removes unreferenced code while keeping shared models and valid tables.
These paths are relative to the data directory. It defaults to ./data in the working directory at launch. Use --data-dir to select a different directory.
| Path | Contents |
|---|---|
graphs/index.json, state/active_graph.json |
Named graph index and current selection |
graphs/<graph ID>/preview.json, graphs/<graph ID>/state/main.json |
Saved and applied configuration |
graphs/<graph ID>/state/endpoint_device_routes.json |
Device selections for named endpoints |
modules/<module ID>/presets/ |
Module parameter tables and local private settings |
modules/<module ID>/resources/, profiles/, assets/ |
Managed models, profile metadata and asset caches, separate from code versions |
plugins-data/, themes-data/ |
Installed module/theme code and theme settings |
tmp/ |
Runtime temporary files for the backend and its workers |
logs/ |
A diagnostic log for each backend launch with the startup time in its filename, such as backend-2026-11-19_20-15-32.123456.log |
The data directory contains private settings and local state. To update, stop the backend, retain a complete data copy and its matching program if you need a recovery point, and then install the new program and dependencies. Start it with the existing data directory, review device and module bindings, then validate and apply the graph. To roll back, start the matching older program with the complete pre-upgrade copy. See Update and recovery (Chinese).
webui_not_built: Build the frontend for a source installation or use a wheel with the UI included.- Validation succeeds, device startup fails: Check local device selections, permission/security prompts, rates and channels. Read the timestamped task record; graph preparation and device startup are separate operations.
- A running graph stops. Open Diagnostics for current status, the failing node and the error code. Open a full log from Log history. The backend writes to
./data/logsby default and prints the current log path at startup. It keeps 20 logs by default, including the current session. Change this limit under Settings & support to control how many logs are kept. Logs omit request contents, audio and raw third-party exception messages. - Download certificate errors: Windows downloads use the native certificate store through
truststore. Check dependencies, system trust, proxy and security-software settings; do not disable TLS verification. - Real-time processing falls behind. Check node timings, input queues and device underruns. Follow the module guide when changing the backend or thread count, and recheck your own route afterward.
.\.venv\Scripts\python.exe -m pip install -e ".[dev,web,devices,loudness,models]" ziglang
.\.venv\Scripts\python.exe -m pytest -q
.\.venv\Scripts\python.exe -m ruff check src tests tools examples/modules
.\.venv\Scripts\python.exe -m ruff format --check src tests tools examples/modules
Push-Location frontend
npm test
npm run build
Pop-Location
.\.venv\Scripts\python.exe -m pip wheel . --no-deps --wheel-dir dist
.\.venv\Scripts\python.exe tools/audit_wheel.py dist/obliviousmic-0.3.1-py3-none-any.whl
.\.venv\Scripts\python.exe tools/verify_release.py --candidate dist/obliviousmic-0.3.1-py3-none-any.whl --output TMPS/release-verification.jsonBuild the WebUI before creating a wheel. setup.py clears the previous package build directory, and tools/audit_wheel.py checks the packaged assets against the WebUI entry point.
CI runs automated tests, the frontend build and package checks. Device acceptance can be tested separately on the target audio routes. See the verification workflow.
Device selections use stable identities. A missing endpoint never falls back to another device occupying its old index. Existing numeric selections must be selected again once after upgrading; subsequent reordering preserves the binding. See the device binding guide (Chinese).
The release verifier installs the wheel and its dependencies in two isolated environments, then checks current-format installation, restart, update and complete-data recovery. Pass --previous <wheel-path> for a current-format baseline. The report records whether the baseline and candidate are distinct wheels.
For frontend development, run npm run dev and add serve --dev-origin http://127.0.0.1:5173 to the backend command.
Runtime options include PythonAdapter, Native C ABI and shared-memory Process Runtime. Process separation detects failures; it is not an OS permissions sandbox.
See the Module API, Graph, Foreign runtimes, package declarations and themes specifications.
The original framework, built-in processor and theme code use Apache-2.0. See LICENSE and NOTICE. The Masquerade theme NOTICE records the source, credit and rights information for the score decoration and preview. Optional modules, models and third-party dependencies retain their own licenses; for example, the translation module declares GPL-3.0-only. The framework license does not override those terms. Personal recordings, baked models, credentials, logs and local temporary files are not release contents.