
u-he Preset Randomizer
io.github.Fannon由 GitHub 账号 Fannon 发布v1.2.0更新于 Oct 24, 2026
Generate, randomize, explain, and manage u-he synthesizer presets via the Model Context Protocol.
发布方自己的服务:Preset MCP
概览
让助手浏览、解释、随机生成并合并本机 u-he 合成器预设的 MCP 服务器。
- 可以做什么
- 以对话方式搜索和浏览已安装的 u-he 合成器预设库
- 解释单个预设的独特之处
- 根据自然语言指令生成随机预设,取值基于用户自身预设库的数值分布
- 基于现有预设创建变体,并把多个预设合并为混合音色
- 保持有状态会话,选定一次合成器后即可自由探索
- 适用场景
- 适合拥有 u-he 合成器、希望在不离开对话的情况下探索预设库、了解音色构成,或快速生成随机变体和混合音色的音色设计师与音乐人。
- 运行要求
- 以 stdio 本地进程运行,通过 npx(需 Node.js 运行时)或 u-he-mcp-server 命令启动;需要同一台机器上安装 u-he 合成器及其预设目录,非默认安装位置可用 UHE_CUSTOM_FOLDER 覆盖。仅支持桌面端。
安装
在 SourceWeft 中
- 打开 控制台中的 u-he Preset Randomizer,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
u-he-preset-randomizer
Generate u-he synth presets through randomization and merging of your existing presets (genetics like).
This tool can generate random presets in three different modes:
- Generate fully random presets based on real values and value distributions in your preset library
- Randomize existing presets, with a customizable amount of randomness
- Merge multiple presets together, with randomness introduced by different ratios between them.
The randomization / merging approach is very generic as it analyzes your actual preset library and bases the random values on the resulting statistical distributions.
There are optional flags / modes that that affect the randomization:
- Narrow down the analyzed presets that are the basis for random generation.
- E.g. by only using a sub-folder, a certain tag category, author or a favorite file export.
- This will influence / limit the range of values in the generated presets.
- Use
stablemode for more reliable, but slightly less random results - Use
binarymode, see--binaryCLI arguments documentation.
It should work for all u-he synths on all platforms. Some synths may work better, due to their simpler architecture (e.g. u-he Diva, Repro). More modular synths like Bazille or Zebra also work, but you'll get more "varied" results or broken presets.
How to use
This is a CLI application that you need to run in your terminal / command line.
First you need to install the Node.js runtime.
Then you can open your Terminal / Console / Command Prompt and start it by entering a command, optionally with some arguments.
They start with npx u-he-preset-randomizer@latest, which will download and run the latest version of this tool:
This will start the tool in interactive mode. It will guide you though the necessary choices. Alternatively, you can pass some arguments if you already know the choices (non interactive).
The generated patches will be put into your selected synth preset directory, under a /RANDOM folder in your user presets.
If you want to download the tool for offline use and manual updates:
MCP Server Interface
In addition to the CLI, this tool provides a Model Context Protocol (MCP) server that allows AI assistants like Claude to interact with your u-he presets through natural conversation.
Features:
- 🔍 Search and browse your preset libraries conversationally
- 📝 Get detailed explanations of what makes presets unique
- 🎲 Generate random presets with natural language instructions
- 🔄 Create variations and merge presets through AI-assisted workflows
- 💾 Stateful sessions - select a synth once, then explore freely
Quick Setup for Claude Desktop:
Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
Then you can ask Claude things like:
- "What synths do I have installed?"
- "Show me bass presets from Diva"
- "Create 5 variations of the '303 Bass' preset with 30% randomness"
- "Merge my favorite pad presets to create hybrid sounds"
📚 Read the full MCP Server documentation →
CLI Usage Examples
Generate Fully Randomized Presets
This command will run the randomizer to generate 3 fully randomized Diva presets. Random values will be based on real values (and their distribution) of your actual presets.
Randomize a particular Preset
This command will take one particular preset "HS Greek Horn" and create 5 random variations of it, with a 20% randomization ratio.
Merge multiple Presets together
This command will merge multiple presets together, with a random ratio on how much weight each one has in the "inheritance".
The following example will take three Diva presets (each indicated with --merge) and create 5 merged variants out of them.
Tips & Tricks
- The u-he preset browser have the most flexibility in filtering and combining presets by category, tags, etc. You can use this to either copy them to a new folder or create a .uhe-fav file export and using this as narrow down selection in the CLI
- When merging presets, it's possible to select the same preset multiple times. Use this to assign "weights" between how strong a preset will influence the outcome.
CLI Arguments / Configuration
If you're unsure which values are correct to use, run the tool in interactive mode. Most config options here will be available with auto-complete or suggestions.
--synth: Choose the u-he synth. Not all synths have been tested, but the randomizer tries to be generic. The name must match the folder name convention of u-he. E.g.Diva,Hive,ZebraHZ.--amount: How many presets to generate. Positive integer number.--randomness: Amount of randomness (in percentage) to apply, when randomizing existing presets or resulting merged presets. Value needs to be between 0 and 100.--preset: If given, an existing preset will be used as a based and randomized by--randomnessratio.- Use "?" to choose random preset
- Use
?search string?to choose a random preset containing "search string" in its path and file name.
--merge: Can be provided multiple times, for each preset that should be part of the merging. Ratio between merged presets is random and NOT driven by the--randomnessparameter.- Use
?to choose random preset - Use
?search string?to choose a random preset containing "search string" in its path and file name. - Use
*to select all presets (careful! Better first reduce via--pattern.) - Use
*search string*to select all presets containing "search string" in its path and file name.
- Use
--pattern: Define a glob pattern, which presets should be loaded.- By default, it's
**/*which will load all presets from all sub-folders. - To select a subfolder, use e.g.
My Folder/**/* - To select presets starting with something, use e.g.
**/PD *
- By default, it's
--folder: narrow down presets by folder. Use/Local/or/User/as starting point.--category: narrow down presets by preset category (metadata)--author: narrow down presets by preset author (metadata)--favorites: narrow down presets by selection fia.uhe-favfile. The files must be located somewhere within your preset library.--stable: Uses more stable randomization approach- For fully random presets, it will randomize not per parameter, but per section (e.g. the entire OSC1 together)
- Only parameters with numeric non-binary assignments will be further randomized. Otherwise they stay consistent with the chosen base preset or a random starter preset.
--binary: Keep the binary part of the u-he presets. They will not be changed, but randomly generated presets will now include the binary section of either a random preset or the base preset that is randomized.- This contains advanced settings like MSEG curves, but this tool cannot really parse or modify it. Not every binary section seems to be compatible with other parameter adjustment, leading to invalid presets.
- ⚠ Using binary mode may lead to broken presets that may crash your synth plugin when loading. Use with care. For some synths this works better (Repro, Diva, Zebralette 3) and for some it frequently leads to invalid presets.
--binary-template: Uses curated binary section templates instead of random library presets. This is enabled by default for Zebralette 3.- Templates are stored in
src/templates/{synthName}/and are prefixed with a weight (e.g.,15-Basic Shapes.h2phas weight 15, making it 15x more likely to be selected than a01-prefixed template). - This approach is safer than
--binaryas the templates are tested to work well with randomized parameters.
- Templates are stored in
--dictionary: Creates random names from a dictionary of names used in the preset library--custom-folder: In case the installation folder is custom, it can be given here- E.g.
--custom-folder "C:/Audio/Plugin Installationen/u-he/"
- E.g.
--debug: Enables some optional debug logging and file exporting
Soundsets
Developer Guide
To run this tool locally in developer mode, you need Node.js and Bun installed. Check out the repo and:
The AGENTS.md provides more context how the project works from development perspective.
I've also exposed the u-he preset parser / serializer functions in the NPM module, so they could be used programmatically by other projects. However, you might inherit more dependencies than necessary if you're just interested in the parser. See ./src/parser.ts.
Help / Feedback
Please use the related KVR Thread or create a GitHub issue.
来源:README.md,提交 cbf5478
工具
0版本历史
1- v1.2.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分