TouchDesigner to Lights
Send TouchDesigner compositions to Spectralite via NDI for generative lighting
TouchDesigner to Lights
Connect TouchDesigner's visual outputs to Spectralite via NDI for generative and data-driven lighting control.
Overview
TouchDesigner is a node-based visual programming environment for real-time interactive multimedia content. By sending TouchDesigner's output to Spectralite via NDI, you can create sophisticated generative lighting systems that respond to data, sensors, and generative algorithms.
What You'll Need
- TouchDesigner (commercial or non-commercial license)
- Network connection between TouchDesigner and Spectralite
- Spectralite running on the same network
Quick Start
- Add NDI Out TOP in TouchDesigner
- Connect your composition to NDI Out
- Enable the stream in Spectralite
- Create reactive effects using the NDI data
Setting Up NDI in TouchDesigner
Step 1: Add NDI Out TOP
- Open your TouchDesigner project
- Add an NDI Out TOP operator to your network
- Connect your visual output to the NDI Out TOP input
- The NDI stream starts automatically when enabled
Step 2: Configure NDI Out TOP
In the NDI Out TOP parameters:
- NDI Name: Set a descriptive name (e.g., "TouchDesigner-Main")
- Active: Enable to start transmission
- Resolution: Set output resolution (720p recommended)
- Pixel Format: RGBA or RGB (RGBA if you need alpha channel)
Step 3: Verify Output
- Check the Info DAT in TouchDesigner to verify streaming
- Look for network activity indicator
- Monitor frame rate in the performance monitor
For detailed configuration, see TouchDesigner's NDI Out TOP documentation.
Connecting to Spectralite
Enable NDI in Spectralite
- Open Spectralite
- Go to Edit > Inputs
- Enable NDI input enabled
- Enable Auto-discover sources
- Select your TouchDesigner stream from the dropdown
- Verify the connection status shows as connected
Using TouchDesigner in Spectralite
There are two ways to use TouchDesigner's output in your lighting:
Quick Start: Built-in NDI Layer
For immediate use, add an NDI layer directly to your timeline:
- In the Timeline panel, click the + button to add a layer
- Select the built-in NDI effect
- TouchDesigner's output will control your lighting immediately
This is the fastest way to connect TouchDesigner to your lighting.
Advanced: Custom Effects with NDI Nodes
For more complex control over how TouchDesigner affects your lighting:
- Open the Node Editor
- Create a new effect or edit an existing one
- Add an NDI Input node to sample video data from TouchDesigner
- Connect it to other nodes to create custom generative lighting effects
This gives you full control over how TouchDesigner's generative output influences your lighting.
Optimization for Performance
In TouchDesigner
- Reduce resolution of NDI output (720p typically sufficient)
- Optimize render networks to maintain frame rate
- Use Limit TOP to cap network dimensions
- Consider GPU memory when creating large textures
Network Setup
- Use wired Ethernet for reliability
- Gigabit network recommended for HD
- Keep systems on same subnet
- Monitor bandwidth usage in TouchDesigner
In Spectralite
- Sample at appropriate resolution for your needs
- Simplify effects when using complex NDI sources
- Use lower sample rates for non-critical elements
Common Workflows
Generative Lighting System
Autonomous lighting driven by algorithms:
- Create generative networks (noise, feedback, particles) in TouchDesigner
- Use parameters to control behavior
- Output to Spectralite via NDI
- Lighting evolves organically based on algorithms
Sensor-Reactive Installation
Physical sensors control lighting via TouchDesigner:
- Connect sensors to TouchDesigner (OSC, MIDI, serial, etc.)
- Process sensor data into visual patterns
- Send to Spectralite via NDI
- Lighting responds to environmental input
Audiovisual Performance
Synchronized audio-reactive visuals and lighting:
- Analyze audio in TouchDesigner
- Generate reactive visuals
- Send same visual data to Spectralite
- Perfect synchronization between visuals and lights
Data Visualization
Transform data into lighting:
- Fetch data in TouchDesigner (weather, social media, analytics)
- Visualize as colors, patterns, or spatial data
- Output to Spectralite
- Lighting becomes a data display medium
Advanced Techniques
Multi-Output Setup
Send multiple TouchDesigner outputs:
- Add multiple NDI Out TOPs for different compositions
- Name each descriptively (e.g., "TD-Zone1", "TD-Zone2")
- Use different streams for different fixture groups
- Create complex multi-zone lighting systems
Alpha Channel Control
Use transparency for intensity control:
- Include alpha channel in NDI output (RGBA format)
- Sample alpha values in Spectralite
- Control fixture intensity based on alpha
- Create fade effects based on transparency
CHOP-to-Color Mapping
Use TouchDesigner CHOPs for direct control:
- Create CHOP networks for control data
- Convert to TOP (colors) for NDI transmission
- Each pixel represents a fixture or parameter
- Precise control using TouchDesigner's data processing
Instancing for Complex Patterns
Use geometry instancing in TouchDesigner:
- Create instance positions/colors in TOPs
- Render instances to texture
- Send to Spectralite via NDI
- Each instance maps to a fixture
Troubleshooting
Stream Not Appearing
- Verify NDI Out TOP is Active
- Check both systems on same network
- Verify firewall allows NDI (port 5353 for discovery)
- Check NDI Out TOP Info DAT for errors
Frame Rate Issues
- Optimize TouchDesigner network (use Performance Monitor)
- Reduce NDI output resolution
- Lower Cook Rate on NDI Out TOP if real-time isn't critical
- Check GPU usage in Task Manager
Network Latency
- Use wired Ethernet connection
- Reduce output resolution
- Limit TOP the network before NDI Out
- Monitor network with Network Performance window
Color Accuracy
- Match color space settings (sRGB typical)
- Check gamma in rendering chain
- Verify pixel format (RGBA vs RGB)
Integration Tips
OSC Control
Control both applications simultaneously:
- Send OSC to TouchDesigner for visuals
- Send OSC to Spectralite for direct control
- Use TouchDesigner as OSC router/processor
- Create unified control system
MIDI Synchronization
Sync both applications to MIDI:
- MIDI to TouchDesigner via MIDI In CHOP
- MIDI to Spectralite for direct control
- TouchDesigner processes MIDI for complex behaviors
- Lighting follows both direct and processed data
Time-Based Control
Use timeline-based control in both:
- TouchDesigner Timeline COMP for sequences
- Coordinate with Spectralite's timeline
- Pre-program synchronized shows
- Combine with live improvisation
Resources
- TouchDesigner NDI Out TOP Documentation - Official operator reference
- General NDI Setup - Generic NDI workflow
- Node Editor - Create NDI-reactive effects