extract_melody
Converts sung audio into quantized MIDI notes, detects key and scale, and generates diatonic chords for Piano, Strings, or Vocal-Harmony parts.
Instructions
Sung melody -> quantized notes + key/scale + diatonic chords for Piano/Strings/Vocal-Harmony parts.
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": {
"file_path": "<file_path>"
},
"name": "extract_melody"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ||
| meter | No | 4/4 | |
| quantize | No | 1/16 | |
| file_path | Yes |