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.

概览

AI 生成的概览

一个本地 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。
安装前请注意
应用 DSP 或 EQ 改动会写入 JamesDSP、Equalizer APO 或 CamillaDSP 配置,请使用已确认并备份的计划。可听扫频和测试音量可能很大,须遵守停止条件。本地会话和报告可能含用户名、绝对路径、设备名、房间坐标和预设指纹,不要直接公开,应使用脱敏工件工具。数据集下载需确认许可证,并会向工作区写入文件。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Audio Calibration MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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.

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

Use this project when you needUse EvoBurrow MCP when you need
General REW acoustic measurement and evidence-based EQA1 Evo AcoustiX artifact inspection or terminal workflows
Room, speaker, subwoofer, car, powered-speaker, or laptop calibrationDenon/Marantz AVR status, preset mapping, backup, or guarded LAN control
JamesDSP, CamillaDSP, Equalizer APO, FIR, or listening-test workflowsAudyssey .ady/.oca review tied to live receiver state

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

ComponentSupport
Node.js20 and 22
Operating systemsWindows x64, macOS Intel/Apple Silicon, Linux x64/ARM64
REWLocal API on port 4735; cross-platform install discovery and confirmed startup
JamesDSPLinux/JDSP4Linux inspect, preview, backup, apply, verify, rollback, blinded level-matched A/B
Equalizer APOExport; guarded apply when an explicit config path is configured
CamillaDSPYAML export; guarded file apply when explicitly configured
miniDSPREW-compatible text export; no hardware mutation in the beta
A1 Evo/DenonOptional separate bridge; no AVR assumptions in this plugin

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:

text
npm ci --ignore-scriptsnpm run buildnpm testnpm run validate:release

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.

  1. Run audio_doctor. If REW is offline, use rew_install_discover, then the confirmed rew_launch_plan/rew_launch_execute pair. Continue with rew_capability_negotiate and audio_guided_session_plan.
  2. Inventory the host, REW, microphone calibration, output route, and DSP state.
  3. Create a protected repeated-session plan. Audible execution requires fresh microphone-placement, area-clear, and route/safety confirmation.
  4. Save separate raw traces, then run quality, dual-resolution, direct/late, crossover, distortion/compression, and human-listening analyses.
  5. Prefer placement, polarity, timing, crossover, and stable cut-first EQ.
  6. Apply only a hash-bound confirmed plan with backup and rollback.
  7. Re-measure at matched level. Start audio_post_eq_verification, then poll audio_job_status; the verifier derives level difference from the traces. Predicted response and caller-claimed level matching are never acceptance evidence.
  8. Use randomized, level-matched A/B or ABX for preference/discrimination. On JamesDSP, jamesdsp_ab_plan plus 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
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0-beta.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分