Mercurial > code > home > repos > light9
diff show/dance2014/effectClass.n3 @ 1195:19e8a57b060e
checkpoint show data
Ignore-this: 35532ca55f44d495a30d808ac106db73
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Jun 2014 20:14:35 +0000 |
parents | 5fc6a68b9d76 |
children | d91aecab1418 |
line wrap: on
line diff
--- a/show/dance2014/effectClass.n3 Sun Jun 15 20:14:07 2014 +0000 +++ b/show/dance2014/effectClass.n3 Sun Jun 15 20:14:35 2014 +0000 @@ -5,6 +5,8 @@ @prefix xml: <http://www.w3.org/XML/1998/namespace> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . +@prefix ch: <http://light9.bigasterisk.com/theater/piedmont/channel/> . +@prefix chase: <http://light9.bigasterisk.com/chase/> . # when these are inserted, a curve called 'env' will be added to this # code, so multiply by that. Also if you mention 'music' anywhere, an @@ -13,7 +15,7 @@ effect:cycFlash a :EffectClass; rdfs:label "cycFlash"; - :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2)" . + :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2) * env" . # Notes for quneo pads: # 48 49 50 51 @@ -38,7 +40,7 @@ :quneoNote 37; :code "out = [env * p1, env * p2, env * p4]", - "p1 = env * <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .3", + "p1 = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .3", "p2 = Strip.solid('LR', (0,0,1))", "p4 = Blacklight(1)" . @@ -46,7 +48,7 @@ effect:whiteLed a :EffectClass; rdfs:label "whiteLed"; - :code "out = Strip.solid('LR', (1,1,1))" . + :code "out = Strip.solid('LR', (1,1,1)) * env" . effect:slowColor a :EffectClass; @@ -60,4 +62,21 @@ "out = [r*env,y*env,b*env]" . - \ No newline at end of file +chase:backchase a :Chase; :channels ( +<http://light9.bigasterisk.com/theater/piedmont/channel/b14-yel> +<http://light9.bigasterisk.com/theater/piedmont/channel/b15-red> +<http://light9.bigasterisk.com/theater/piedmont/channel/b21-edge> +<http://light9.bigasterisk.com/theater/piedmont/channel/b22-c> +<http://light9.bigasterisk.com/theater/piedmont/channel/b26-edge> +<http://light9.bigasterisk.com/theater/piedmont/channel/b32-red> +<http://light9.bigasterisk.com/theater/piedmont/channel/b34-yel> +) . + + +effect:backChase a :EffectClass; + rdfs:label "back chase"; + :code "out = chase(t, names=backchase, ontime=.3, offset=-.11) * env" . + +effect:backChaseSlower a :EffectClass; + rdfs:label "back chase slower"; + :code "out = chase(t, names=backchase, ontime=.7, offset=-.11) * env" .