Set tempo, time signature, key
update_projectChange song-wide tempo, time signature, and key in an OpenUtau project, editing only the values you specify. Works on the live project or a .ustx file.
Instructions
Change song-wide settings: tempo (or a tempo change at a tick, or remove one), time signature (at a bar), key. Give only what changes. Live, each setting is its own undo step. Returns the project summary like get_project. Use update_track / update_part for tracks and parts. / 曲全体の設定を変えます:テンポ(途中のテンポ変更の追加・削除)、拍子(小節指定)、キー。変える項目だけ指定。 ライブでは項目ごとに1回の取り消し単位。概要を返します。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "update_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | Tempo in BPM, 10..1000, set at tempo_tick. / テンポ | |
| key | No | Key: 0 = C ... 11 = B, or a name like "F#", "Bb". / キー | |
| path | No | A .ustx file to edit directly (OpenUtau may be closed). Omit to use the project open in OpenUtau (needs the bridge). / 直接編集する .ustx ファイル(OpenUtau は閉じていて可)。省略で OpenUtau のプロジェクト | |
| tempo_tick | No | Tick of the tempo change (0 = song start). / テンポ変更の位置(ティック、0 = 先頭) | |
| remove_tempo | No | true removes the tempo change at tempo_tick (not tick 0). / true で tempo_tick のテンポ変更を削除 | |
| time_signature | No | Time signature such as "4/4", "3/4", "6/8". / 拍子 | |
| time_signature_bar | No | Bar where it starts (0 = first bar). / 拍子変更の小節 |