@prefix : . @prefix dev: . @prefix dmxA: . @prefix effect: . @prefix func: . @prefix rdfs: . @prefix show: . @prefix xsd: . :EffectFunction rdfs:comment """ Linked to a code function. That func's Inputs are 1) magic stuff like time, 2) the effectAttrs listed under (?effect :input ?) Outputs are always a DeviceSettings list which can affect arbitrary devices. """ . ######## effectFunction func:scale a :EffectFunction; 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; :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 . # dev:par90 a :LedPar90; :dmxUniverse dmxA:; :dmxBase 16 . dev:par1 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 84 . dev:par2 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 1 . dev:par3 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 188 . dev:par4 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 105 . dev:par5 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 147 . dev:par6 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 154 . dev:par7 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 161 . dev:par8 a :LedPar54; :dmxUniverse dmxA:; :dmxBase 168 . # dev:plain1 a :SimpleDimmer; :dmxUniverse dmxA:; :dmxBase 10 .