www.blue-sector.com
Coef Performance 250 DV
Robert Mueller
Coef
!call|GetColor$
!call|GetGobo$
!call|GetGoboRotation$
!call|GetShutter$
!call|GetDimmer$
!if|{gobo_gobo}|eq|0|
!set_channel|3|0$
$
!if|{gobo_gobo}|gt|-1|
!set_channel|2|{gobo_gobo}$
$
!if|{gobo_gobo}|eq|-1|
!set_channel|2|(206 + {gobo_speed})$
$
!if|{gobo_gobo}|eq|-2|
!set_channel|2|(231 + {gobo_speed})$
$
!if|{channel_2}|gt|-1|
!set_control|gobo_gobo|{channel_2}$
!set_control|gobo_speed|0$
$
!if|({channel_2} > 205) and ({channel_2} < 231)|
!set_control|gobo_gobo|-1$
!set_control|gobo_speed|({channel_2} - 206)$
$
!if|({channel_2} > 230)|
!set_control|gobo_gobo|-2$
!set_control|gobo_speed|({channel_2} - 231)$
$
!if|{colordrop}|gt|-1|
!set_channel|1|{colordrop}$
$
!if|{colordrop}|eq|-1|
!set_channel|1|(206 + {color_speed})$
$
!if|{colordrop}|eq|-2|
!set_channel|1|(226 + {color_speed})$
$
!if|{channel_1}|gt|-1|
!set_control|colordrop|{channel_1}$
!set_control|color_speed|0$
$
!if|({channel_1} > 205) and ({channel_1} < 226)|
!set_control|colordrop|-1$
!set_control|color_speed|({channel_1} - 206)$
$
!if|({channel_1} > 225) and ({channel_1} < 246)|
!set_control|colordrop|-2$
!set_control|color_speed|({channel_1} - 226)$
$
!if|{gobo_rotation}|eq|0|
!set_channel|3|0$
$
!if|({gobo_rotation} = -1) and ({channel_2} > 10) and ({channel_2} < 101)|
!set_channel|3|(6 + {gobo_rotation_speed})$
$
!if|({gobo_rotation} = -2) and ({channel_2} > 10) and ({channel_2} < 101)|
!set_channel|3|(131 + {gobo_rotation_speed})$
$
!if|({gobo_rotation} = -3) and ({channel_2} > 101) and ({channel_2} < 190)|
!set_channel|3|(6 + {gobo_rotation_position})$
$
!if|{channel_3}|eq|0|
!set_control|gobo_rotation_speed|0$
!set_control|gobo_rotation_position|0$
$
!if|({channel_3} > 5) and ({channel_3} < 131) and ({channel_2} > 10) and ({channel_2} < 131)|
!set_control|gobo_rotation|-1$
!set_control|gobo_rotation_position|0$
!set_control|gobo_rotation_speed|({channel_3} - 6)$
$
!if|({channel_3} > 130) and ({channel_2} > 10) and ({channel_2} < 101)|
!set_control|gobo_rotation|-2$
!set_control|gobo_rotation_position|0$
!set_control|gobo_rotation_speed|({channel_3} - 131)$
$
!if|({channel_3} > 5) and ({channel_2} > 101) and ({channel_2} < 191)|
!set_control|gobo_rotation|-3$
!set_control|gobo_rotation_speed|0$
!set_control|gobo_rotation_position|({channel_3} - 6)$
$
!if|{shutter_state}|gt|-1|
!set_channel|0|{shutter_state}$
$
!if|{shutter_state}|eq|-1|
!set_channel|0|(61 + {shutter_speed})$
$
!if|{channel_0}|eq|0|
!set_control|shutter_speed|0$
$
!if|({channel_0} > 60) and ({channel_0} < 251)|
!set_control|shutter_state|-1$
!set_control|shutter_speed|({channel_0} - 61)$
$
!if|({channel_0} > 5) and ({channel_0} < 101)|
!set_control|dimmer_status|{channel_9})$
$