Set note expression
set_note_expressionSet per-note expression values such as velocity, volume, or attack on selected notes in an OpenUtau part; use set_curve for expressions that change over time.
Instructions
Set a per-note expression value (velocity, volume, attack, ...) on notes of a part in OpenUtau (needs the bridge; one undo step). For a curve that changes over time (dyn, tenc, brec, ...) use set_curve instead. Fails for curve-only expressions. Returns the changed notes. / 音符ごとの表情(vel・vol・atk など)を設定します。時間で変わる カーブ(dyn など)は set_curve。
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>",
"value": "<value>"
},
"name": "set_note_expression"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abbr | Yes | Note expression: vel (velocity), vol, atk (attack), dec (decay), gen, bre, clr, ... (see get_project expressions). / 音符の表情の略称 | |
| part | Yes | Voice part index from 0, counting voice parts only (see get_project voice_parts). / ボイスパート番号(0 から、ボイスパートのみ数える) | |
| value | Yes | New value within the expression's range; null resets to default. / 値(null で既定) | |
| indices | No | Note indexes in the part (see list_notes). Omit for every note. / 音符番号のリスト。省略で全音符 |