Here is the definitive version, which will control lights in the dashboard and sen MIDI cc for each light to an external lighting board or other device:
A drum loop in an audio cue sends its output to speakers (with a little Apple AU sample delay to compensate for processing latency on the lights.
3 copies of this audio cue are routed to cue output 10 silently. (Cue output 10 is set to -59dB in the output matrix for the patch)
Each of these copies has an AU Bandpass filter applied to isolate the desired frequencies for each light and an Apple AU dynamics processor which gates, compresses and adjusts gain and attack and release times.
The lights are driven by 3 Network cues with OSC queries which get the output levels of Cue output 10 from each of the 3 processed audio cues and converts these to a dashboard lighting level between the min and max levels specified in the query
The lighting Patch is set up to send MIDI feedback on CC1-23, which may be useful to Johan, who wants to use this to drive an external hardware lighting console.
On my machine I get about 13 values per second on each CC MIDI output.
Attached is a video of the whole thing tootling along.
Mic