Create scheduler
create_schedulerCreate named timers with optional segments and callbacks for actions like cueing, parameter setting, or scripting. Each timer runs in seconds or beats and can loop or autostart.
Instructions
Build a Timer-CHOP scheduler COMP: one or more named timers (seconds or beats), each with an optional ordered segment list, sharing a Callbacks DAT that fires a cue/param/script action on onDone and onSegmentEnter. Atomic timer primitive that create_scene_timeline and other automation rides on. Reuses manage_cue's tdmcp_cues storage for the default 'cue' action - store target cues first with manage_cue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timers | Yes | One or more named timers built inside the scheduler COMP. Each becomes a Timer CHOP + segment Table DAT, all sharing one Callbacks DAT. | |
| name | No | Name of the scheduler engine COMP (a containerCOMP) created inside parent_path. Re-running with the same name reuses it. | scheduler |
| parent_path | No | Parent COMP path the scheduler COMP is created inside. | /project1 |
| action | No | What the callbacks fire. 'cue': recall a cue (reuses manage_cue's tdmcp_cues). 'param': set target.par.param. 'script': artist-edited stub. | cue |
| target | No | (action cue/param) COMP the callback acts on. For 'cue', store the cues first with manage_cue. | |
| param | No | (action param) Custom-parameter name on target the callback sets. | |
| on_done_value | No | (action param) Value written to target.par.param on onDone. | |
| expose_controls | No | Append an Active toggle on the scheduler COMP, so a dashboard can pause callback dispatch live. |