Skip to content
Skills Library
Other · Building & coding

fl-studio-arranger

/fl-studio-arranger

FL Studio 26 编曲执行器(MCP 驱动,全自动)。当用户要求「用 FL Studio 编曲 / 写钢琴/鼓/电吉他/木吉他/贝斯/弦乐声部 / 把编曲写进 FL 钢琴卷帘 / 导出多轨 MIDI 拖进 FL」时使用。内含斯波索宾和声引擎(功能序进、终止式、平行五八度体检)+ 六声部写作器,能自动驱动 FL Studio 把音符写进钢琴卷帘,并导出回读核对。

Repository
dsh-fl-mcp ↗
Licence
MIT
Last repository change
01.11.2026

Assessment and security

93/ 100Class: good
Format20 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene13 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
14
Scripts
6
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 01.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 6 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: install.py, tools/doctor.py, tools/mcp_smoke.py, tools/probe.py, tools/selftest.py, tools/shot.py

What it does and when to use it

FL Studio 26 编曲执行器(MCP 驱动,全自动)。当用户要求「用 FL Studio 编曲 / 写钢琴/鼓/电吉他/木吉他/贝斯/弦乐声部 / 把编曲写进 FL 钢琴卷帘 / 导出多轨 MIDI 拖进 FL」时使用。内含斯波索宾和声引擎(功能序进、终止式、平行五八度体检)+ 六声部写作器,能自动驱动 FL Studio 把音符写进钢琴卷帘,并导出回读核对。

Original author description

FL Studio 26 编曲执行器(MCP 驱动,全自动)。当用户要求「用 FL Studio 编曲 / 写钢琴/鼓/电吉他/木吉他/贝斯/弦乐声部 / 把编曲写进 FL 钢琴卷帘 / 导出多轨 MIDI 拖进 FL」时使用。内含斯波索宾和声引擎(功能序进、终止式、平行五八度体检)+ 六声部写作器,能自动驱动 FL Studio 把音符写进钢琴卷帘,并导出回读核对。

How it works

  1. 一、能力边界
  2. 二、九个 MCP 工具
  3. 三、标准工作流(全自动)
  4. 四、六声部写作规则(引擎里硬编码,不是提示词)
  5. 五、和声规则
  6. 六、踩过的坑(照抄可少走弯路)
  7. 七、首次使用
  8. 八、排错
Original SKILL.md headings · 115 lines, 543 words
SKILL.md preview
---
name: fl-studio-arranger
description: FL Studio 26 编曲执行器(MCP 驱动,全自动)。当用户要求「用 FL Studio 编曲 / 写钢琴/鼓/电吉他/木吉他/贝斯/弦乐声部 / 把编曲写进 FL 钢琴卷帘 / 导出多轨 MIDI 拖进 FL」时使用。内含斯波索宾和声引擎(功能序进、终止式、平行五八度体检)+ 六声部写作器,能自动驱动 FL Studio 把音符写进钢琴卷帘,并导出回读核对。
---

# FL Studio 编曲 · 技能包

不是「教你怎么编曲」,是**替你在 FL Studio 里把音符写出来**。

和声内核来自「编曲作曲音乐家」专家包(斯波索宾体系),执行层是本技能包自带的
`flstudio` MCP 服务器:它用 FL 官方快捷键 `Ctrl+M`(导入 MIDI)把音符灌进钢琴卷帘,
再用 `Shift+Ctrl+M`(导出 MIDI)回读核对——**全程不需要你点任何菜单**。

---

## 一、能力边界

| 能做 | 机制 | 做不到(FL 的硬限制) |
|---|---|---|
| 生成六声部编曲 | 和声引擎算序进 + 六声部写作器 | — |
| 自动写进 FL 钢琴卷帘 | 生成单声部 MIDI → Ctrl+M 导入 | 一次只能写**当前打开的那一个**钢琴卷帘 |
| 自动回读核对 | Shift+Ctrl+M 导出 → MIDI 解析 | 脚本 API 不能建 Pattern、不能加载音源 |
| 多轨 MIDI 导出 | 标准 MIDI format 1 | 不能自动渲染音频 |
| 和声体检 | 平行五/八度检测,排列器自动规避 | 不判定「好不好听」 |

> 轨道音色由该通道加载的插件决定,**换音源必须手动**(FL 不给自动化接口)。

## 二、九个 MCP 工具

| 工具 | 作用 | 何时用 |
|---|---|---|
| `fl_status` | 探测 FL 路径/版本/进程/目录 | 开工先调 |
| `fl_setup` | **自动启动 FL + 打开钢琴卷帘** | FL 没开、或钢琴卷帘没开时 |
| `fl_compose` | 生成六声部编曲 + 和声表 + 体检 + 导出 MIDI | 用户说要编曲 |
| `fl_write_voice` | **【推荐】把一个声部直接写进 FL** | 用户要「落到 FL 里」 |
| `fl_read_score` | 回读钢琴卷帘真实音符(导出解析) | 核对写入结果 |
| `fl_clear_score` | 清空当前钢琴卷帘 | 重写之前 |
| `fl_export_midi` | 导出多轨 MIDI | 要 6 条独立轨道 |
| `fl_install_bridge` | 安装可选的钢琴卷帘脚本桥接 | 需要和弦标记 marker 时 |
| `fl_push_voice` | 走脚本桥接写入(高级) | 需要 marker / 逐音控制力度时 |

## 三、标准工作流(全自动)

```
用户:「用 pop 风格 C 大调写 8 小节,贝斯直接写进 FL」
  │
  ├─ fl_status                    → 链路通不通
  ├─ fl_setup                     → 没开 FL 就自己开,没开钢琴卷帘就自己开
  ├─ fl_compose                   → I-V-vi-IV…IV-V-I、六声部、体检、导出
  ├─ fl_write_voice("bass")       → 清空 → 写 MIDI → Ctrl+M → 点「接受」
  └─ fl_read_score                → Shift+Ctrl+M 导出 → 解析 → 「FL 里现在 32 个音,音域 A1-D3」
```

换声部就是重复最后两步:在 FL 里切到目标通道的钢琴卷帘,再 `fl_write_voice("piano")`。

## 四、六声部写作规则(引擎里硬编码,不是提示词)

| 声部 | 音域 | 织体 | 关键约束 |
|---|---|---|---|
| 钢琴 piano | 36–96 | 左手根音+五度,右手密集和弦切分 | 右手排列做平行进行规避 |
| 鼓组 drums | GM 鼓位 | 按风格律动,每 4 小节加 fill | 36 kick / 38 snare / 42 hat … |
| 电吉他 egtr | 40–86 | 强力和弦(根+五+八度),闷音切分 | 只用根音五度,不加三音 |
| 木吉他 agtr | 40–84 | 扫弦或 Travis 分解,低音交替 | 低音与高音分开跑 |
| 贝斯 bass | 28–55 | 根音 + 五度 + 级进经过音 | 最后半拍接下一和弦根音 |
| 弦乐 strings | 36–93 | 大提琴/中提琴/小提琴三层长音 | **先算完整四部再分层** |

详见 `references/01-instrument-voicing.md`。

## 五、和声规则

- 功能序进只走 **T → S → D → T**,禁止 D→S 逆行
- 自动收束终止式:最后两小节强制 **IV–V–I**(小调 iv–V–i)
- 小调默认和声小调保 V 大三;流行/摇滚/电子把 3、7 级换成借用的 **III / VII**(避开 III+ / vii°)
- 排列器在候选织体里选「平行进行最少 + 声部移动最小」的那个
- 平行五/八度判定排除「同和弦音的八度加倍」(那是加倍,不是平行)

## 六、踩过的坑(照抄可少走弯路)

1. **FL 显示的音名比标准高一个八度**:MIDI 60 = 科学音高 C4 = FL 里显示 C5。
2. 脚本里 **velocity 是 0.0–1.0**,不是 0–127(只有走脚本桥接时才相关)。
3. **`os.replace` 在 FL 的 Python 沙箱里会失败**:能写 .tmp,但替换被拒 → 外部永远看不到回执。直接 `open(path,'w')` 写。
4. **播放列表和钢琴卷帘是同一个窗口类** `TEventEditForm`:只按类名找会抓到播放列表,必须看标题条文字(`TNewCaption`)。
5. **F7 是开关不是「打开」**:已经开着再按会关掉。要么按两次(隐藏再显示顶到最前),要么先判断窗口在不在。
6. **文档目录可能被重定向**(本机在 `D:\Backup\Documents`)。`~/Documents` 会指错,必须用 `SHGetKnownFolderPath`。
7. **工具菜单是两栏**(左工具 / 右脚本),行位置随主题和窗口变,**不要写死坐标**。
8. 其他通道的「幽灵音符」清不掉——它们属于同一 Pattern 里的别的通道,换空 Pattern 才干净。
9. **点钢琴卷帘的网格会画出一个音符**(默认力度 100):`focus_pianoroll` 原来点网格,于是每次写入都多一个音,回读就「写出 137 / 读回 138」。改成点左侧键盘条(只试听、不改谱)。
10. **FL 的 MIDI 导入是追加语义**:不清空就叠加。`import_midi_to_pianoroll(clear_first=True)` 默认先 Ctrl+A/Delete。
11. **同一音高同一时刻只能有一个音**:旋律与织体撞音时,FL 会把长音切开,回读音符数变多。生成器里 `fl_safe()` 统一修(合并/截断),修了几处会写进报告的 `note_fixes`。

## 七、首次使用

```bash
.venv\Scripts\python.exe install.py     # 建环境 + 装桥接(可选) + 注册 MCP + 自检
```

装完两个客户端都自动注册好:

- **WorkBuddy**:连接器页「信任」`flstudio`,重启会话。
- **DeepSeek Harness(DSH)**:`<工作区>\.dsh\mcp.servers.yml` 追加 `flstudio`,新开会话即可(`install.py --dsh` 会自动做)。

之后不需要任何手动操作。换客户端后想确认配置真能用,跑:

```bash
.venv\Scripts\python.exe tools\doctor.py --config "<工作区>\.dsh\mcp.servers.yml" --live
```

如果 FL 一启动就弹欢迎页挡住操作:勾一次「不再显示此内容」(`fl_setup` 失败时也会提示)。

## 八、排错

| 现象 | 原因 | 处理 |
|---|---|---|
| `fl_write_voice` 返回 changed_px 很小 | 音符音域在视图外(比如贝斯) | 正常,用 `fl_read_score` 核对数量 |
| `fl_read_score` 比预期多 1–2 个音 | 卷帘里有历史残留/幽灵音符;或写入了同音高重叠 | 先 `fl_clear_score` 再写;检查报告 `note_fixes` |
| `fl_status` 找不到 FL | 装在非标准路径 | 设环境变量 `FL_STUDIO_DIR` |
| 导入对话框卡住 | 「接受」按钮位置随主题变化 | 工具会按窗口右下角点击并重试 |
| 客户端看不到工具 | 配置没生效/路径写错 | `tools/doctor.py --config <该客户端配置>` |
Files in this package (14)
  • .gitignore 1 KB
  • LICENSE 1 KB
  • README.md 10 KB
  • SKILL.md 8 KB
  • install.py 8 KB
  • requirements.txt 1 KB
  • references/01-instrument-voicing.md 4 KB
  • references/02-workflow.md 4 KB
  • references/03-github-survey.md 6 KB
  • tools/doctor.py 8 KB
  • tools/mcp_smoke.py 4 KB
  • tools/probe.py 1 KB
  • tools/selftest.py 7 KB
  • tools/shot.py 1 KB

Versions

The database has no other skills named fl-studio-arranger.

Database snapshot: 13.11.2026 · package version 1876ec1d1493 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90fl-studio-composer
    Compose, render and check a song in FL Studio from a text idea using the p5midi tool. Use when the user asks for a beat, song, loop, track or instrumental made in FL Studio, or wants an idea turned into an .flp / MIDI / MP3.
  • 90emerick-harmony-arrangement
    Write the chord progressions, form and accompanying band parts (drums, bass, comping, pads) of a song in Emerick, and pick and screen the instruments that play them, either as MIDI parts or with the built-in style arranger. Use this skill whenever a song in Emerick needs chords,…
  • 100mortician-funeral-arranger
    Use when a task needs the judgment of a Mortician/Funeral Arranger — running an arrangement conference with a grieving family, verifying death-certificate informant details against a primary source, itemizing a General Price List selection against a family's budget expectation,…
  • 100midi-cleanup
    Use when the user asks to humanize a MIDI part, fix voice leading, quantize notes, clean up timing, fix stuck/duplicate notes, or generally polish a MIDI clip they recorded or wrote. Examples - "humanize this hat", "voice these chords better", "the timing is too stiff", "fix the…
  • 90motion-studio-upgrade
    Upgrades the motion-studio video skill to its latest release and shows what changed. Use when the user says "upgrade motion-studio", "update motion-studio" or "motion-studio-upgrade", or accepts the upgrade offer motion-studio shows when a new version is out.
  • 100beatflow-skill
    Compose, revise, validate, compare, inspect, and export original multi-track music as Standard MIDI with BeatFlow's compact, style-neutral Python DSL. Use for turning a musical brief into a deterministic Composition, testing explicit phrase/counterpoint/theme contracts, or inspecting MIDI.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.