
Audio Calibration MCP
io.github.daredoole由 GitHub 帳號 daredoole 發布v0.2.0-beta.1更新於 Oct 24, 2026
Evidence-bound REW measurement, analysis, conservative EQ, DSP, and listening-test tools.
概覽
一個本機 MCP 伺服器,讓助理驅動 Room EQ Wizard 進行量測、分析、保守 EQ 與 DSP 部署,用於喇叭和空間校正。
- 可以做什麼
- 探索、啟動並檢查 REW,協商能力並規劃帶安全確認的引導式校正工作階段。儲存並分析量測:品質門檻、雙解析度、直接/後期、分頻、失真與聽感分析,以及不確定度、重複性和空間篩檢模組。提出以衰減為先的 EQ 與 FIR/DSP 方案,僅在雜湊綁定的確認計畫下帶備份和回復地套用。匯出到 JamesDSP、Equalizer APO、CamillaDSP 和 miniDSP,並執行盲測、電平匹配的 A/B 或 ABX 聽感測試。重新量測並驗證結果,瀏覽或下載經校驗碼與來源核驗的精選外部資料集。
- 適用情境
- 適用於用 REW 校正空間、喇叭、重低音、車用或筆電音訊,並希望助理把量測、工程計算與聽者偏好分開、在套用變更前要求證據的情境。
- 執行需求
- 以本機程序執行在與 REW 同一台電腦上(Node.js 20 或 22;Windows x64、macOS、Linux x64/ARM64)。需在 REW 中啟用本機 API,並可在 4735 埠存取。自動化 REW 掃頻需要 REW Pro 授權,讀取既有量測則不需要。選用環境變數 AUDIO_REW_EXECUTABLE、AUDIO_REW_URL 和 AUDIO_REW_MAX_CONCURRENCY。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Audio Calibration MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Audio Calibration MCP
[Audio Calibration MCP calibration-bunny logo]
Audio Calibration MCP is a local-first, cross-platform Model Context Protocol server for Room EQ Wizard (REW). It guides acoustic measurement, speaker and room calibration, subwoofer and crossover analysis, conservative EQ, DSP deployment, and measured verification for general, powered-speaker, car, and laptop audio systems.
You use it from an AI assistant such as Codex, Claude Code, or Cursor on the same computer as REW. MCP is the connection that lets the assistant call these tools; this project is not a separate calibration app. REW does the measuring, and your DSP or receiver applies the changes it supports.
This project does not promise universally “perfect” sound. REW can measure an acoustic system; it cannot infer listener preference, microphone placement, or a speaker's safe output capability without evidence. The MCP reports missing data and keeps preference separate from engineering calculations.
[CI] [CodeQL] [Release] [License: MIT] [Buy Me a Coffee]
Start here
New to MCP? Follow the written walkthrough. It covers what you need, how to install and connect the tools, and how to analyse your first REW measurement. You can begin with measurements you already have.
- Install with Codex, Claude Code, or Cursor
- Before and after: the measured example and its limits
- Troubleshooting
The MCP is free and open source. Your chosen assistant has its own account and billing requirements. Automated REW sweeps through the API require a REW Pro license; reading existing measurements does not require automated sweep control. See REW's API documentation.
Choose the right audio MCP
The projects share measurement discipline, but this MCP deliberately stays hardware-neutral; EvoBurrow owns the A1 and AVR-specific safety boundary.
Measured laptop example — before and after
[REW frequency-response comparison of factory laptop speakers and the JamesDSP-tuned preset]
This is measured evidence from four repeated REW sweeps per state, averaged with 1/12-octave smoothing. Factory is amber and the cut-only JamesDSP preset is cyan. The shaded area below 500 Hz marks the protection-limited bass region where no boost was applied. The plot preserves measured SPL; preference was assessed in a separate level-matched listening comparison. Device, microphone, and preset identifiers are intentionally removed from the public artifact.
See the example explained for what this plot shows, what it does not establish, and how to compare changes on your own system.
Compatibility
Install
Follow the installation guide for release downloads,
absolute file paths, and the configuration for your assistant. Codex uses
config.toml; the repository's .mcp.json is not automatically loaded by the
Codex CLI. The guide gives an explicit registration command.
For a source checkout:
The checked-in MCP configuration starts the self-contained dist/server.mjs.
The packaged CLI is also bundled, and the published artifact declares zero
runtime npm dependencies. Third-party build inputs are exact-pinned and installed
with lifecycle scripts disabled. Run
rew_install_discover to locate REW through a user override, the
AUDIO_REW_EXECUTABLE environment variable, PATH, and conventional Windows,
macOS, or Linux locations. If discovery fails, pass the absolute executable path
(or REW.app on macOS) to that tool or rew_launch_plan. Starting REW requires
the matching rew_launch_execute confirmation. Startup is verified against the
API on http://127.0.0.1:4735; override AUDIO_REW_URL only for a trusted local
network endpoint. REW's API still must be enabled in REW itself.
Guided workflow
The beginner walkthrough uses ordinary prompts and explains what to expect. The steps below are the tool sequence for users who want to work directly with the MCP interface.
- Run
audio_doctor. If REW is offline, userew_install_discover, then the confirmedrew_launch_plan/rew_launch_executepair. Continue withrew_capability_negotiateandaudio_guided_session_plan. - Inventory the host, REW, microphone calibration, output route, and DSP state.
- Create a protected repeated-session plan. Audible execution requires fresh microphone-placement, area-clear, and route/safety confirmation.
- Save separate raw traces, then run quality, dual-resolution, direct/late, crossover, distortion/compression, and human-listening analyses.
- Prefer placement, polarity, timing, crossover, and stable cut-first EQ.
- Apply only a hash-bound confirmed plan with backup and rollback.
- Re-measure at matched level. Start
audio_post_eq_verification, then pollaudio_job_status; the verifier derives level difference from the traces. Predicted response and caller-claimed level matching are never acceptance evidence. - Use randomized, level-matched A/B or ABX for preference/discrimination.
On JamesDSP,
jamesdsp_ab_planplus its presentation and restore executors switch presets and host volume transactionally without revealing assignments.
Analysis views
Reports preserve the source trace and display native unsmoothed data, derived engineering resolution, 1/48-octave structure, adaptive modal-to-perceptual smoothing, and ERB/perceptual views. Filters are eligible only when features are stable across repetitions and held-out data. Narrow/spatial nulls are not boosted.
audio_report_plan can also accept two to four repeated comparison groups. It
averages each state, preserves ±1 SD, calculates the measured level difference,
and exports Markdown, HTML, JSON, and a standalone labeled SVG suitable for a
README. Missing SNR rejects the quality gate by default; exploratory callers must
explicitly opt out with requireSnr: false.
Privacy
There is no telemetry. Local sessions may contain usernames, absolute paths,
device names, room coordinates, microphone hashes, and preset fingerprints.
Never publish measurements/, sessions/, backups/, profiles/, reports/,
or filters/ directly. Use the redacted support-artifact tools and review the
result before sharing it.
Development and validation
npm test is hardware-independent. npm run coverage exercises deterministic
DSP and safety fixtures. npm run validate:release checks manifests, metadata,
the bundled server, and package contents. Real-system smoke tests are opt-in and
must never run in ordinary CI.
REW requests are bounded to four concurrent calls by default. Set
AUDIO_REW_MAX_CONCURRENCY from 1–8 only when the local REW instance has been
validated at that concurrency.
See SECURITY.md, CONTRIBUTING.md, and CHANGELOG.md. Licensed under the MIT License.
Measurement-science laboratory modules
Bounded tools cover GUM-style uncertainty budgets and Monte Carlo propagation, bootstrap repeatability, complex-transfer coherence and phase confidence, ISO-3382-aligned room screening, exploratory polar/directivity scans, clean-output ladders, held-out-seat complex multi-source optimization, regularized FIR proposals, controlled listening trials, immersive/SOFA metadata preflight, and reference-corpus auditing.
Screening, inspired, and standards-aligned never mean certified conformity.
ISO, IEC, ANSI/CTA, AES, and ITU conformity requires the complete current normative
document, prescribed setup and processing, calibrated instrumentation, and traceable
evidence. Optimization and FIR outputs remain proposals until protected, level-matched
hardware remeasurement accepts them.
Curated external datasets
audio_dataset_catalog exposes reviewed metadata for selected SADIE II, FLAIR,
MeshRIR, and RAVes artifacts without downloading them. Dataset acquisition uses a
hash-bound plan/execute pair, requires license acknowledgement, enforces an exact
byte ceiling, accepts only pinned Zenodo HTTPS URLs, refuses overwrites, checks the
upstream checksum, calculates SHA-256, and writes a provenance receipt under the
workspace datasets/ directory.
Remote entries and checksum-verified downloads are not automatically scientific validation. Readiness is calculated per domain and requires parsed, method-compatible references from at least two independent institutions with justified tolerances.
Laptop calibration
Laptop speakers remain fully supported, but this is the least general workflow and is intentionally documented last. Laptop mode starts at 120 Hz and -30 dBFS by default. Stop immediately on an unexpected route, silence, clipping, limiter activity, rattling, or distress.
Support the project
Audio Calibration MCP is free and open source. If it saves you time or improves your system, you can buy daredoole a coffee.
來源:README.md,提交 c63dd92
工具
0版本歷史
1- v0.2.0-beta.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
