Align Japanese Morae to Vocal Rhythm
vocaloid_align_japanese_phraseAlign Japanese morae to stable rhythm slots with explicit melisma and small-っ timing decisions for VOCALOID projects.
Instructions
Align Japanese morae to stable rhythm slots as a manifest-compatible phrase, with explicit melisma and small-っ timing decisions.
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": {
"text": "<text>",
"phrase_id": "<phrase_id>",
"start": "<start>",
"note_slots": "<note_slots>"
},
"name": "vocaloid_align_japanese_phrase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Displayed Japanese text. If it contains kanji, reading is required. | |
| start | Yes | ||
| g_mode | No | Whether eligible medial が-row onsets use Japanese nasal N/N'. | plosive |
| reading | No | Explicit kana reading. Spaces define word boundaries for positional affricates. | |
| phrase_id | Yes | Stable phrase ID, limited to 85 characters so generated mora IDs remain valid | |
| allocation | No | sequential | |
| note_slots | Yes | ||
| affricate_mode | No | How ざ/じ rows choose dz/dZ versus z/Z. | position |
| response_format | No | markdown | |
| sokuon_strategy | No | Required when the reading contains small っ. rest needs a rest slot; attach_next repeats the following consonant. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| warnings | Yes |