Mercurial > code > home > repos > light9
annotate show/dance2014/effectClass.n3 @ 2450:a4052905ca7d default tip
notes about how rdfdb syncs, or should sync
author | drewp@bigasterisk.com |
---|---|
date | Mon, 03 Jun 2024 23:01:54 -0700 |
parents | 30793e93e4eb |
children |
rev | line source |
---|---|
1132 | 1 @prefix : <http://light9.bigasterisk.com/> . |
2 @prefix effect: <http://light9.bigasterisk.com/effect/> . | |
3 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
4 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
5 @prefix xml: <http://www.w3.org/XML/1998/namespace> . | |
6 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | |
7 | |
1195 | 8 @prefix ch: <http://light9.bigasterisk.com/theater/piedmont/channel/> . |
9 @prefix chase: <http://light9.bigasterisk.com/chase/> . | |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
10 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
11 # when these are inserted, a curve called 'env' will be added to this |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
12 # code, so multiply by that. Also if you mention 'music' anywhere, an |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
13 # output 'music' will be set to the current song. |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
14 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
15 |
1132 | 16 effect:cycFlash a :EffectClass; |
17 rdfs:label "cycFlash"; | |
1195 | 18 :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2) * env" . |
1145 | 19 |
1183 | 20 # Notes for quneo pads: |
21 # 48 49 50 51 | |
22 # 44 45 46 47 | |
23 # 40 41 42 43 | |
24 # 36 37 38 39 | |
25 | |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
26 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
27 effect:cycToMusic a :EffectClass; rdfs:label "cyc to music"; |
1183 | 28 :quneoNote 36; |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
29 :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * music * env" . |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
30 |
1190 | 31 |
32 effect:fullToMusic a :EffectClass; rdfs:label "full to music"; | |
33 :quneoNote 38; | |
1199 | 34 :code "out = <http://light9.bigasterisk.com/show/dance2014/sub/full> * music * env" . |
1190 | 35 |
36 | |
37 | |
1145 | 38 effect:blacklight a :EffectClass; |
39 rdfs:label "blacklight"; | |
1183 | 40 :quneoNote 37; |
1145 | 41 :code |
1192 | 42 "out = [env * p1, env * p2, env * p4]", |
1195 | 43 "p1 = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .3", |
1192 | 44 "p2 = Strip.solid('LR', (0,0,1))", |
1150 | 45 "p4 = Blacklight(1)" |
46 . | |
1165 | 47 |
1150 | 48 |
1165 | 49 effect:whiteLed a :EffectClass; |
50 rdfs:label "whiteLed"; | |
1195 | 51 :code "out = Strip.solid('LR', (1,1,1)) * env" . |
1165 | 52 |
1192 | 53 |
54 effect:slowColor a :EffectClass; | |
55 rdfs:label "slow color chase"; | |
56 :quneoNote 37; | |
57 :code | |
58 "period = 5", | |
59 "r = <http://light9.bigasterisk.com/show/dance2013/sub/red> * nsin(t / period)", | |
60 "y = <http://light9.bigasterisk.com/show/dance2013/sub/yellow> * nsin((t+.3) / period)", | |
61 "b = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * nsin((t+.6) / period)", | |
62 "out = [r*env,y*env,b*env]" | |
63 . | |
64 | |
1195 | 65 chase:backchase a :Chase; :channels ( |
66 <http://light9.bigasterisk.com/theater/piedmont/channel/b14-yel> | |
67 <http://light9.bigasterisk.com/theater/piedmont/channel/b15-red> | |
68 <http://light9.bigasterisk.com/theater/piedmont/channel/b21-edge> | |
69 <http://light9.bigasterisk.com/theater/piedmont/channel/b22-c> | |
70 <http://light9.bigasterisk.com/theater/piedmont/channel/b26-edge> | |
71 <http://light9.bigasterisk.com/theater/piedmont/channel/b32-red> | |
72 <http://light9.bigasterisk.com/theater/piedmont/channel/b34-yel> | |
73 ) . | |
74 | |
75 | |
76 effect:backChase a :EffectClass; | |
77 rdfs:label "back chase"; | |
78 :code "out = chase(t, names=backchase, ontime=.3, offset=-.11) * env" . | |
79 | |
80 effect:backChaseSlower a :EffectClass; | |
81 rdfs:label "back chase slower"; | |
82 :code "out = chase(t, names=backchase, ontime=.7, offset=-.11) * env" . | |
1197 | 83 |
84 chase:frontrand a :Chase; :channels ( | |
85 <http://light9.bigasterisk.com/theater/piedmont/channel/f11-blue> | |
86 <http://light9.bigasterisk.com/theater/piedmont/channel/f3> | |
87 <http://light9.bigasterisk.com/theater/piedmont/channel/f8-fill> | |
88 <http://light9.bigasterisk.com/theater/piedmont/channel/f9-pool-r> | |
89 <http://light9.bigasterisk.com/theater/piedmont/channel/f10> | |
90 <http://light9.bigasterisk.com/theater/piedmont/channel/f1-blue> | |
91 <http://light9.bigasterisk.com/theater/piedmont/channel/f4-pool-l> | |
92 <http://light9.bigasterisk.com/theater/piedmont/channel/f5-fill> | |
93 <http://light9.bigasterisk.com/theater/piedmont/channel/f7> | |
94 <http://light9.bigasterisk.com/theater/piedmont/channel/f2> | |
95 <http://light9.bigasterisk.com/theater/piedmont/channel/sharlyn> | |
96 <http://light9.bigasterisk.com/theater/piedmont/channel/f12-purp> | |
97 ) . | |
98 | |
99 | |
100 effect:frontrandChase a :EffectClass; | |
101 rdfs:label "frontrand chase"; | |
102 :code "out = chase(t, names=frontrand, ontime=.3, offset=-.11) * env" . |