Create auto montage
create_auto_montageScans a folder for clips and stills, builds a crossfade montage with auto-advance triggered by beat, bar, or interval, and exposes controls for playback, mode, and timing.
Instructions
Point at a folder and build a self-running clip montage: scans the folder for clips/stills, builds one Movie File In TOP per file feeding a Switch TOP (fractional-index crossfade) → Null TOP, and adds an auto-advance brain on top — a Beat CHOP (clock='beat' or 'bar' with division) or LFO CHOP (clock='interval') drives a CHOP-Execute DAT that picks the next clip per mode (sequential / random / shuffle-no-repeat / weighted) and animates the Switch index with a crossfade. Exposes Play / Index / Next / Prev / Crossfade / Bpm / Division / Mode / Seed custom pars on the container; emits a state_out Null CHOP so bind_to_channel can read clip_index/beat. Folder is read inside TD. Missing folder → empty pointable montage instead of error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Container COMP name. | auto_montage |
| parent_path | No | Where to build it. | /project1 |
| folder | Yes | Folder on the TD machine to scan for clips/stills. | |
| extensions | No | Allow-listed extensions (lower-case, no dot). | |
| max_clips | No | Cap clip count. | |
| resolution | No | Switch TOP output resolution [w,h]. | |
| mode | No | Sequence policy: sequential, random, shuffle (no immediate repeat), weighted (per-clip Weight par). | shuffle |
| clock | No | Trigger source: beat/bar (Beat CHOP) or interval (LFO CHOP). | bar |
| bpm | No | Tempo when clock=beat|bar. | |
| division | No | Advance every N beats (beat) or N bars (bar). | |
| interval_s | No | Seconds between advances when clock=interval. | |
| crossfade | No | Crossfade seconds (0 = hard cut). | |
| autoplay | No | Start in playing state. | |
| seed | No | If set, seeds the RNG (reproducible). |