diff show/dance2023/theaterLightConfig.n3 @ 2297:33d1f00de395

checkpoint show data
author drewp@bigasterisk.com
date Tue, 30 May 2023 23:47:08 -0700
parents b0be0315426d
children 5deeefdc6ee3
line wrap: on
line diff
--- a/show/dance2023/theaterLightConfig.n3	Tue May 30 01:01:53 2023 -0700
+++ b/show/dance2023/theaterLightConfig.n3	Tue May 30 23:47:08 2023 -0700
@@ -2,6 +2,7 @@
 @prefix dev: <http://light9.bigasterisk.com/theater/vet/device/> .
 @prefix dmxA: <http://light9.bigasterisk.com/output/dmxA/> .
 @prefix effect: <http://light9.bigasterisk.com/effect/> .
+@prefix func: <http://light9.bigasterisk.com/effectFunction/> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix show: <http://light9.bigasterisk.com/show/dance2023/> .
 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@@ -16,16 +17,32 @@
 
 ######## effectFunction
 
-effect:scale
+func:scale
   a :EffectFunction;
-  rdfs:label "a submaster- a few devices at specified colors";
+  rdfs:label "a submaster- scales :deviceSettings";
+  :input 
+    [ :effectAttr :strength; :defaultValue 0.0 ],
+    [ :effectAttr :deviceSettings; ] . # e.g. "par2 at color=red; par3 at color=white"
+  
+func:strobe
+  a :EffectFunction;
+  rdfs:label "blink specified devices";
   :input 
-    [ :effectAttr :strength; :value 0 ], # overridden by fader
-    [ :effectAttr :output; :value2 [ # something to say 'this attr value must resemble the following graph'
-        :device     :valueRequired;  # ...and it's repeatable, unlike :strength
-        :deviceAttr :valueRequired;
-        :value      :valueRequired ] ] .
+    [ :effectAttr :strength; :defaultValue 0.0 ],
+    [ :effectAttr :period; :defaultValue 0.5 ],
+    [ :effectAttr :onTime; :defaultValue 0.1 ],
+    [ :effectAttr :deviceSettings ] .
   
+func:image
+  a :EffectFunction;
+  rdfs:label "sample image at x=time";
+  :input
+    [ :effectAttr :strength; :defaultValue 0.0 ],
+    [ :effectAttr :period; :defaultValue 2.0 ],
+    [ :effectAttr :image; :defaultValue "specks.png" ],
+    [ :effectAttr :deviceSettings; rdfs:comment "these might have a :sort key or a :y value" ] .
+      
+
 dev:strip1  a :Bar612601d;        :dmxUniverse dmxA:; :dmxBase 175 .
 # dev:strip2  a :ChauvetColorStrip; :dmxUniverse dmxA:; :dmxBase 12 .
 dev:strip3  a :Bar612601d;        :dmxUniverse dmxA:; :dmxBase 178 .