Set clip speed
clip_speedSets a clip's playback speed (ratio 0.25-4, 2.0 = double speed, half as long). The mode picks how: repitch (default, varispeed - pitch and length change together) or stretch (pitch-preserving time-stretch).
Instructions
Sets a clip's playback speed (ratio 0.25-4, 2.0 = double speed, half as long). The mode picks how: repitch (default, varispeed - pitch and length change together) or stretch (pitch-preserving time-stretch). Mode can also be changed on its own. lockTempo ties the clip to the project tempo (speed = project tempo / clip tempo, following tempo changes); the clip tempo is detected by beat tracking or given with tempo, which implies the lock.
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": {
"project": "<project>"
},
"name": "clip_speed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timeline position of the clip (in `unit`) | |
| mode | No | How the speed is realised: varispeed or pitch-preserving | |
| task | No | Name of the task this edit is part of, e.g. "remove speech pauses". In the open app, all edits with the same task name become one undo step: keep the name for every call of the task and change it when the next task starts. Without a task name, all edits of this session share one step | |
| unit | No | Unit for positions (default bars; bars/beats are 1-based, seconds/clocks absolute) | |
| ratio | No | Speed ratio (0.25-4) | |
| tempo | No | The clip's own tempo in BPM; sets it and locks the clip | |
| track | No | Track id to narrow the match | |
| length | No | Fit the clip to this timeline duration (in `unit`) | |
| region | No | Region name of the clip | |
| project | Yes | Path to the .audium project package (absolute paths recommended) | |
| lockTempo | No | Lock the clip to the project tempo (true) or release it (false) | |
| semitones | No | Pitch shift in semitones (ratio = 2^(n/12)) |