ferraus

io.github.djynnius由 GitHub 账号 djynnius 发布v0.1.4更新于 Nov 7, 2026

Command-line audio workstation: stems, restoration, tuning, sheet music, mastering. JSON everywhere.

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,封装 ferraus 命令行音频工作站,让助手可以编辑、修复、分离、调音、转谱和母带处理音频文件。

可以做什么
  • 编辑与转换音频:裁剪、切分、拼接、重采样、标准化,导出波形与频谱图,从视频中提取音频
  • 应用效果与修复:淡入淡出、EQ、压缩、混响、去削波、去嗡声、去爆音、去嘶声、频谱修复、降噪
  • 分离音轨、音高校正、时间伸缩,并把哼唱转成 MIDI 或乐器渲染
  • 生成 MIDI 与乐谱:量化、律动、总谱与鼓谱,以及把乐谱 PDF 演奏成音频
  • 混音与母带:按曲风平衡音轨、掩蔽分析、侧链闪避、通过/不通过门槛,以及分析—规划—验证的母带流程
  • 返回带 schema 的 JSON 信封和可重放的来源记录文件
适用场景
当用户希望助手在本机处理音乐或音频文件时适用,例如清理录音、制作分轨、修正人声、生成乐谱,或产出可直接发行的母带,而无需图形界面。
运行要求
作为本地进程在用户机器上运行(仅桌面端);MCP 服务器通过带允许目录参数的命令启动。需先安装 ferraus 命令行工具(安装脚本、Homebrew、apt、dnf、scoop、MSI、Docker 镜像或 cargo)。模型权重不随包提供,首次使用时下载。
安装前请注意
命令会在允许的目录内写入、转换和覆盖音频文件,应把允许路径限制得尽量窄,并避免无意覆盖已有文件。模型下载会获取第三方权重并占用磁盘与带宽。部分功能会加载 CLAP/VST3 插件,静态 musl 版本无法加载。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[ferraus banner: a smiling engineer in headphones at a mixing console in a recording studio, under a brushed-steel ferraus sign]

ferraus

A command-line audio workstation for scripts and AI agents.

One cross-platform binary that edits, repairs, separates, tunes, transcribes, notates, and masters audio. Every command returns JSON and records how each file was made, so scripts and agents can chain it without a GUI and reproduce any result. (The au is for audio.)

bash
ferraus separate song.mp3                         # vocals, drums, bass, otherferraus denoise take.wav --auto -o clean.wav      # learn the noise, remove itferraus tune vocal.wav --key auto -o tuned.wav    # pitch-correct to the detected keyferraus hum idea.wav --to piano -o idea.piano.wav # humming → MIDI → a real instrumentferraus mix balance stems/*.wav --genre pop       # faders that put stems on a genre balanceferraus master mix.wav --target streaming         # release-ready master at -14 LUFS
  • Editing and conversion: convert, trim, cut, split, concat, resample, normalize (EBU R128), channels, silence, tags, waveform and spectrogram export; audio from MP4/MKV/WebM/MOV.
  • Effects: fades, compressor, limiter, gate, de-esser, multiband, EQ, reverb (plate, FDN, convolution), delay, chorus/flanger/phaser, saturation, vocoder, panning and automation.
  • Restoration matching Adobe Audition's effects: declip, dehum, declick, dehiss, spectral repair, phase alignment, leveler, scientific filters, and more.
  • Noise reduction from a noise profile, adaptive, or model-based (DeepFilterNet, RNNoise).
  • Stem separation in tiers from Demucs to RoFormer ensembles.
  • Pitch and time: auto-tune, pitch shift with formant preservation, time stretch.
  • MIDI and notation: quantize, groove, hum-to-MIDI, rendering through SoundFonts, SFZ, or CLAP/VST3 instruments; scores (lead sheet, grand staff, drums, solfa) from audio or MIDI, and sheet-music PDFs performed as audio.
  • Mixing: stem balance to genre templates, level-aware masking analysis with the EQ cut that fixes it, sidechain ducking, a vocal rider that holds the vocal against the music word by word, dynamic resonance control, song structure (sections, repeats, roles), patching a bad note from a clean repeat, a pass/fail gate before mastering, and whole sessions as cached pipeline files whose stages report their own measurements.
  • Mastering: one command, or an analyze → plan → verify loop an agent can drive.

For AI agents

Every command takes --json and returns a stable, versioned envelope; ferraus schema <command> prints its JSON Schema; every output gets a provenance sidecar (<output>.ferraus.json) that ferraus replay reproduces. ferraus is also an MCP server:

bash
claude mcp add ferraus -- ferraus mcp serve --allow ~/music

ferraus describe --agent prints the whole command surface in under 4,000 tokens. See AGENTS.md.

Install the skills

The ferraus skill teaches an agent when and how to use ferraus (the --json contract, dry runs, model downloads). The companion skills carry an engineer's working method for whole jobs: every decision taken from a measurement, every result checked against a numeric gate, and the session delivered as an editable pipeline file plus a report. They are what let an agent mix and master a producer's stems unsupervised.

SkillWhat it does
ferrausthe CLI contract and the common one-command tasks; routes to the others
ferraus-mixstems → balanced, processed, panned mix with sends, ducking, and a pass/fail gate before mastering
ferraus-mastermix → reviewed and verified masters for every destination, deliverables, albums, alternate versions
ferraus-vocalsraw take → repaired, tuned, produced vocal; doubles and vocal effects
ferraus-mix-reviewmeasured, prioritized notes on a mix or master; reference and version comparisons
ferraus-stemsstem export checks, separation, instrumental/a cappella/TV versions, remix prep
ferraus-beatsdrum patterns, chords, bass lines as DAW-ready MIDI, rendered to audition

Install them with one of:

AgentCommand
Claude Codeclaude plugin marketplace add djynnius/ferraus, then claude plugin install ferraus@ferraus (all skills)
Other agents (Cursor, Codex, Gemini CLI, …)npx skills add djynnius/ferraus, then pick the skills and your agent
Any agent, by handcopy the folders under skills/ into the agent's skills folder

The skills drive the ferraus command, so install the CLI first (see Install).

One prompt that sets everything up

To set up an agent, paste this into it:

text
Install the ferraus CLI and its skill, then use ferraus for any audio, music, or sheet-music task.
1. Install the CLI if `ferraus --version` fails. Use one method: macOS or Linux with Homebrew:   `brew install djynnius/tap/ferraus`; otherwise on macOS or Linux:   `curl -fsSL https://github.com/djynnius/ferraus/releases/latest/download/ferraus-installer.sh | sh`;   on Windows (PowerShell):   `powershell -ExecutionPolicy ByPass -c "irm https://github.com/djynnius/ferraus/releases/latest/download/ferraus-installer.ps1 | iex"`.   Then run `ferraus doctor --json` and confirm "ok": true.2. Install the skills. In Claude Code: `claude plugin marketplace add djynnius/ferraus`, then   `claude plugin install ferraus@ferraus`. In another agent: `npx skills add djynnius/ferraus`   and select all the ferraus skills and your agent. Use one method. You can read the skills directly at   https://github.com/djynnius/ferraus/tree/main/skills   (the main one, raw: https://raw.githubusercontent.com/djynnius/ferraus/main/skills/ferraus/SKILL.md).3. Optional, if you support MCP: register `ferraus mcp serve --allow <music folder>` as an MCP server   (Claude Code: `claude mcp add ferraus -- ferraus mcp serve --allow ~/Music`).4. Before the first task, run `ferraus describe --agent` for the command catalog and read   https://raw.githubusercontent.com/djynnius/ferraus/main/AGENTS.md for the contract: add `--json` to   every call, plan with `--dry-run`, never pass `--overwrite` unless asked, and only download models   (`-y`) when the user agrees.

Examples

examples/ has runnable shell scripts, pipeline files, an MCP client, and a Claude agent loop. They work on test audio that ferraus generates, and CI runs all of them.

Install

PlatformCommand
macOS and Linuxcurl -fsSL https://github.com/djynnius/ferraus/releases/latest/download/ferraus-installer.sh | sh
Windows (PowerShell)powershell -ExecutionPolicy ByPass -c "irm https://github.com/djynnius/ferraus/releases/latest/download/ferraus-installer.ps1 | iex"
Homebrewbrew install djynnius/tap/ferraus
Debian 13+ / Ubuntu 24.04+the apt repository below, or the .deb from the releases page
Fedora 39+ / RHELsudo curl -fsSLo /etc/yum.repos.d/ferraus.repo https://djynnius.github.io/packages/rpm/ferraus.repo && sudo dnf install ferraus
Windows (scoop)scoop bucket add djynnius https://github.com/djynnius/scoop-bucket; scoop install djynnius/ferraus
Windows (MSI)from the releases page
Dockerdocker run --rm -v "$PWD:/work" -v ferraus-data:/data ghcr.io/djynnius/ferraus info song.wav
From sourcecargo install ferraus

apt repository (signed; updates arrive with apt upgrade):

bash
sudo mkdir -p /etc/apt/keyringssudo curl -fsSLo /etc/apt/keyrings/ferraus-archive-keyring.asc https://djynnius.github.io/packages/ferraus-archive-keyring.ascsudo curl -fsSLo /etc/apt/sources.list.d/ferraus.sources https://djynnius.github.io/packages/apt/ferraus.sourcessudo apt update && sudo apt install ferraus

Update: ferraus update --check says whether a newer release is out and how to get it; ferraus update installs it when the release installer put ferraus there, and otherwise prints the Homebrew, apt, dnf, scoop, or cargo command.

Builds: macOS 13.4+ on Apple silicon and Intel; Linux on x86-64 and ARM64, both with glibc 2.38+ (Ubuntu 24.04+, Debian 13+, Fedora 39+) and as a fully static musl build for Alpine and older distributions (the shell installer picks it when glibc is too old; it cannot load CLAP or VST3 plugins); Windows on x86-64 and ARM64 (needs the Microsoft Visual C++ Redistributable, present on most machines). Release artifacts are built and attested only by this repository's GitHub Actions workflows. Model weights are not in the package; they download on first use (with -y or models.auto_download = true) and are verified by SHA-256.

Run ferraus doctor after installing.

Documentation

License

Apache-2.0 OR MIT, at your option. The score engraving helper (ferraus-engrave) is LGPL-3.0 because it links Verovio; it runs as a separate process.

来源:README.md,提交 ddbb921

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

2
  1. v0.1.4最新Nov 7, 2026
  2. v0.1.3Nov 6, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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