Create tempo sync
create_tempo_syncCreate a beat-synced tempo clock in TouchDesigner, outputting ramp, pulse, beat/bar counters, and BPM channels to bind visuals to the beat. Optionally emit beat events over WebSocket for live reaction.
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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_tempo_sync"
}
}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. | |
| parent_path | No | Parent COMP path the self-contained 'tempo_sync' container is created inside. | /project1 |
| expose_controls | No | Expose a live 'Period' knob to retune the beat division on the fly. |