mcp_opendaw_randomize_note_chance
Randomize note chance values (0-100%) to create generative MIDI patterns where notes probabilistically play or mute, with modes like uniform, decreasing, increasing, sparse, or binary.
Instructions
Randomize note playback probability (chance) — generative variation.
Sets a random chance value (0-100%) for each note, controlling whether it plays on each run. This is the core of generative MIDI — patterns that are different every time while maintaining structure. Notes with chance=100 always play, chance=50 play half the time, chance=0 never play (silent ghost).
Perfect for:
Ghost notes that appear/disappear (drum variation)
Generative melodies where notes drop in/out
Call-and-response patterns with probabilistic responses
Evolving textures that change per iteration
mode: Distribution of chance values:
"uniform" — random between min_chance and max_chance, evenly distributed. Each note gets an independent random chance. Default mode.
"decreasing" — chance decreases linearly from max to min across the region. First notes are most likely, last notes least. Creates fade-out of probability — pattern dissolves.
"increasing" — chance increases from min to max. Pattern emerges from silence. Builds anticipation.
"sparse" — most notes get min_chance, but some get max_chance. Creates sparse texture with occasional hits. Good for ghost notes.
"binary" — each note gets either min_chance or max_chance (coin flip). Creates stark on/off patterns.
min_chance: Minimum chance value (0-100, default 50). max_chance: Maximum chance value (0-100, default 100). seed: Random seed for reproducibility.
Returns per-track note counts, chance range applied.
Example:
Ghost note variation — 30-80% chance
randomize_note_chance(unit_index=0, track_index=0, min_chance=30, max_chance=80)
Dissolving pattern — high to low
randomize_note_chance(unit_index=0, track_index=2, mode="decreasing", min_chance=0, max_chance=100)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | uniform | |
| seed | No | ||
| max_chance | No | ||
| min_chance | No | ||
| unit_index | No | ||
| track_index | No | ||
| region_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |