Create panic control
create_panicBuild a live-performance safety control with instant kill switches: blackout forces output to black, freeze holds the last frame. Exposes toggle buttons for performers to cut video instantly.
Instructions
Build a live-performance safety control — the 'oh no' button every VJ needs. Wraps a source in a small COMP with two instant kill switches: Blackout forces the output to black (a Level TOP's brightness1 driven to 0) and Freeze holds the last frame (a Cache TOP stops capturing, active → 0). With an input_path the source is pulled in by a Select TOP (so it can live in another container); without one a built-in Ramp TOP test source is used so it builds and previews standalone. Output is a Null TOP. Big Blackout / Freeze toggle buttons are exposed on the container so a performer can hit them instantly. Marked destructive because firing Blackout/Freeze disables the live output. Returns the container, the source/freeze/blackout/output node paths, and the initial toggle states.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | No | Optional absolute path of the live source TOP to protect. Pulled in via a Select TOP (TD wires can't cross containers, so it's referenced by path). If omitted, a built-in test source (Ramp TOP) is used so the panic COMP still builds and previews on its own. | |
| blackout | No | Initial Blackout state. When on, the output is forced to black (Level TOP brightness1 = 0) — the instant kill switch. | |
| freeze | No | Initial Freeze state. When on, the last frame is held instead of passing the live input (Cache TOP stops capturing — active = 0). | |
| expose_controls | No | Expose big Blackout and Freeze toggle buttons on the container so a performer can hit them instantly. | |
| parent_path | No | Parent COMP the panic container is built inside (default '/project1'). | /project1 |