Write a raga/scale MELODY
fl_write_raga_melodyCompose a raga melody by generating swaras as MIDI notes and writing them into the selected FL Studio channel. Specify raga, root, and note sequence for a single-line melody.
Instructions
Write a MELODY (single-line, sequential notes) into the selected channel via the piano-roll bridge. YOU (Claude) generate the swaras for the named raga/root -> MIDI notes (use the proper aarohana/avarohana; respect the raga's allowed swaras); this tool only selects the channel + writes. SHOW the user the notes/swaras BEFORE calling. Needs the Piano roll open + MCP_Apply armed once this session (see the note-bridge setup).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"notes": "<notes>"
},
"name": "fl_write_raga_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'replace' clears the pattern first; 'append' adds. | replace |
| raga | No | Raga/scale name (label only), e.g. 'Hamsadhwani'. | |
| root | No | Root/tonic (label only), e.g. 'C', 'D#'. | |
| notes | Yes | ||
| channel | No | Channel-rack channel to write into (selected first). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||