Create tempo sync
create_tempo_syncCreates a beat-synced clock with ramp, pulse, beat/bar counters, and BPM, outputting to a Null CHOP. Optionally emits beat events over WebSocket for live AI reactivity.
Instructions
Create a tempo clock (Beat CHOP driven by TouchDesigner's global tempo) exposing beat-synced channels on a Null CHOP: a per-beat 0→1 ramp, a pulse spike on each beat, integer beat/bar counters, and bpm. Bind any parameter to these to lock visuals to the beat. With emit_events on, it also broadcasts a beat event over the bridge WebSocket each beat, so tdmcp-agent watch and the AI can see the pulse live. Pair with extract_audio_features for full musical reactivity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Beats per bar / beat period — how the ramp and bar channels divide the tempo. | |
| emit_events | No | Also broadcast a `beat` event over the bridge WebSocket on every beat, so `tdmcp-agent watch` and the AI can react to beats live. | |
| expose_controls | No | Expose a live 'Period' knob to retune the beat division on the fly. | |
| parent_path | No | /project1 |