item_split_at_transients
Splits an audio item at every detected transient using REAPER's native detection. Returns the resulting chops for further editing like repitch or duplicate.
Instructions
Slice an audio item at every detected transient.
Uses REAPER's native transient detection (stepping "Move cursor to next transient in items" across the item; the edit cursor is put back afterwards). Sensitivity is controlled by REAPER's project settings (Options → Preferences → Project → Item handling → Transient detection sensitivity), not by this tool — set it once in REAPER and it applies to every call.
Args: item_index: Global 0-based item index of the source audio item.
Returns:
chops_created: number of new items created from the split.
chops_total: total items now spanning the original time range.
chops: list of {item_index, position, length, offset_in_original_sec}
in playback order. The AI uses these indices to repitch /
duplicate / reverse individual chops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_index | Yes |