marker_add
Adds a single REAPER timeline marker at a specified time in seconds, with optional label and RGB color. Use batch insertion when adding multiple markers.
Instructions
Add marker. Prefer add_markers_batch for multiple.
Returns both marker_index and marker_number - use marker_index
for any follow-up marker_delete/marker_edit/markers_apply call.
marker_number is REAPER's own display id, which it reuses once
freed by a delete, so it will not match marker_index in a project
that's had markers deleted.
Args: position: Seconds. name: Label. color_r: Red 0-255. color_g: Green 0-255. color_b: Blue 0-255.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color_b | No | ||
| color_g | No | ||
| color_r | No | ||
| position | Yes |