mpc-plugin-test — скилл для Claude Code: тест MPC-плагинов
Скилл mpc-plugin-test для Claude Code проверяет MPC-плагин в симуляторе хоста SDK до установки на устройство. Запускает тесты после сборки и помогает разбирать тишину, шум, сбои и потерю настроек.
MIT ★ 200 обновлён 2026-11-07
npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a claude-codeЧто делает mpc-plugin-test
Скилл проверяет MPC-плагин через симулятор хоста SDK: показывает имя, UID и параметры, запускает рендеринг в WAV и проверяет MIDI, сохранение состояния, перебор параметров, стабильность и загрузку CPU. После теста он разбирает отчёт: ошибки вроде NaN, сбоя или несовпадения параметров нужно исправить, предупреждения указывают на возможные проблемы со звуком и производительностью.
Симулятор не заменяет тест на настоящем MPC. Он измеряет CPU на компьютере, а MPC работает в 10–40 раз медленнее; средняя загрузка симулятора должна оставаться ниже нескольких процентов. Для проблемы с тишиной скилл предлагает проверить обработку isNoteOn, огибающую и запись в ctx.outputs; для щелчков — сглаживание параметров и сброс фазы.
После теста WAV нужно прослушать, а сам плагин проверить на MPC: скопировать папку в VST2 Plugins, включить Preferences → Enhancements (Beta) → External Plugin Support, загрузить его и сохранить и перезагрузить проект.
Какие задачи решает
- проверить плагин после каждой сборки
- найти причину тишины или шума на выходе
- поймать сбой и некорректное сохранение состояния
- проверить MIDI, перебор параметров и загрузку CPU
Примеры запросов агенту
- Проверь плагин после сборки через симулятор хоста SDK.
- У плагина нет звука: проверь обработку MIDI и выходной сигнал.
- Найди причину щелчков и проверь сохранение настроек плагина.
Как установить mpc-plugin-test
1Через Skills CLI (Vercel)
npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a claude-code2Вручную: положить файлы
~/.claude/skills/mpc-plugin-test/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/mpc-plugin-test/
1Через Skills CLI (Vercel)
npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a codex2Вручную: положить файлы
.agents/skills/mpc-plugin-test/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a cursor2Вручную: положить файлы
.cursor/skills/mpc-plugin-test/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install inmusic-software/mpc-plugin-builder-sdk .agents/skills/mpc-plugin-test2Вручную: положить файлы
.github/skills/mpc-plugin-test/SKILL.md1Через Skills CLI (Vercel)
npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a gemini-cli2Командой платформы
gemini skills install https://github.com/inmusic-software/mpc-plugin-builder-sdk --path .agents/skills/mpc-plugin-testВручную: положить файлы
.devin/skills/mpc-plugin-test/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о mpc-plugin-test
Как установить mpc-plugin-test в Claude Code?
Выполни npx skills add inmusic-software/mpc-plugin-builder-sdk --skill mpc-plugin-test -a claude-code. Файл скилла находится по пути ~/.claude/skills/mpc-plugin-test/SKILL.md.
Что делает mpc-plugin-test?
Скилл запускает проверки MPC-плагина в симуляторе хоста SDK: тестирует рендеринг в WAV, MIDI, состояние, параметры и стабильность. Он также помогает разбирать отчёт симулятора и проверять типичные проблемы со звуком.
Заменяет ли симулятор тест на настоящем MPC?
Нет. Симулятор выявляет часть сбоев и ошибок DSP, но после него плагин нужно проверить на MPC.
Исходный текст
SKILL.md · MIT
--- name: mpc-plugin-test description: Test an MPC plugin on the computer with the SDK's host simulator before putting it on hardware: load sequence, audio rendering to WAV, MIDI, state round trip, parameter sweeps, stability and CPU. Use after every build, when the user reports no sound, noise, crashes, glitches or lost settings, or asks to verify a plugin. --- # Test with the host simulator The simulator imitates the MPC's host (same load sequence, 44.1 kHz, small blocks, concurrent-looking parameter writes, the parameter-0 nudge). It cannot replace a test on the real MPC, but it catches most crashes and DSP bugs. ``` .sdk-tools/host_sim plugins/<Name>/build/native/<slug>.dylib dump # what the MPC will see: name, uid, params, kinds .sdk-tools/host_sim plugins/<Name>/build/native/<slug>.dylib test --seconds 3 --wav plugins/<Name>/build/test.wav # instruments: --notes 48,52,55 ; --playing simulates transport ; effects get a sine + noise burst # --block 32 / --block 512 for extreme block sizes ; --verbose logs every opcode ``` (On Linux the native library is `.so`, on Windows `.dll` and the simulator is `host_sim.exe`.) Read the report: - `FAIL` lines must be fixed: NaN/Inf output, crash (exit 2, with the phase named), state not round-tripping, parameter get/set mismatch. - `WARN`: silence from an instrument (no voice triggered?), clipping (reduce gain), denormals, high CPU, effect not passing silence. - Timing: the simulator reports CPU on your machine; the MPC is 10–40× slower. Keep the simulator's average under a few percent. Then listen to the WAV (ask the user to, or describe what to expect). For "no sound" problems: check `isNoteOn` handling, envelope attack/gate, output gain, and that `ctx.outputs` is written. For "clicks": smooth parameters, add short attack/release, avoid resetting phase on every block. Finally remind the user to test on the MPC itself (`docs/install-and-test.md`): copy the folder into `VST2 Plugins`, enable Preferences → Enhancements (Beta) → External Plugin Support, load it, save and reload a project.
© inmusic-software · MIT · inmusic-software/mpc-plugin-builder-sdk