Set expression curve
set_curveDraws or resets an expression curve for an OpenUtau voice part using [tick, value] points; empty points restore the default.
Instructions
Draw an expression curve of a voice part in OpenUtau through [tick, value] points (straight lines; values clamped to the range), or reset it to default when points is empty. Dynamics (dyn), DiffSinger tension (tenc), breathiness (brec), gender (genc), voicing (voic), pitch deviation (pitd, cents). One undo step. Per-note values use set_note_expression. Returns the curve. / パートの表情カーブを [ティック, 値] の点で描きます。points が空なら既定に 戻します。音符ごとの値は set_note_expression。
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": {
"part": "<part>",
"abbr": "<abbr>"
},
"name": "set_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abbr | Yes | Expression abbreviation, e.g. "dyn", "vel", "tenc". / 表情の略称 | |
| part | Yes | Voice part index from 0, counting voice parts only (see get_project voice_parts). / ボイスパート番号(0 から、ボイスパートのみ数える) | |
| points | No | [tick, value] pairs, part-relative ticks, joined by straight lines, e.g. [[0,0],[960,-60]]. Omit or [] to reset the curve to its default. / [ティック, 値] の点。省略か [] で既定に戻す |