Mercurial > code > home > repos > light9
annotate show/dance2014/effectClass.n3 @ 1183:02f74275a21f
effectclass mappings
Ignore-this: 14c6fb4e7497f5014f3c59f250c7dfbd
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Jun 2014 17:08:45 +0000 |
parents | 78973ed9e986 |
children | 5e7acb866b9f |
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 | |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
8 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
9 # 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
|
10 # 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
|
11 # 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
|
12 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
13 |
1132 | 14 effect:cycFlash a :EffectClass; |
15 rdfs:label "cycFlash"; | |
16 :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2)" . | |
1145 | 17 |
1183 | 18 # Notes for quneo pads: |
19 # 48 49 50 51 | |
20 # 44 45 46 47 | |
21 # 40 41 42 43 | |
22 # 36 37 38 39 | |
23 | |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
24 |
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
25 effect:cycToMusic a :EffectClass; rdfs:label "cyc to music"; |
1183 | 26 :quneoNote 36; |
1180
6c4981f61bf8
subserver inserts effects with envelope curves
Drew Perttula <drewp@bigasterisk.com>
parents:
1165
diff
changeset
|
27 :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
|
28 |
1145 | 29 effect:blacklight a :EffectClass; |
30 rdfs:label "blacklight"; | |
1183 | 31 :quneoNote 37; |
1145 | 32 :code |
1150 | 33 "env = <http://light9.bigasterisk.com/show/dance2014/song1/curve-1>", |
34 "out = [env * p1, env * p2, env * p3, env * p4]", | |
35 "p1 = env * <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .5", | |
36 "p2 = Strip.solid('R', (0,0,1))", | |
37 "p3 = Strip.solid('L', (0,0,1))", | |
38 "p4 = Blacklight(1)" | |
39 . | |
1165 | 40 |
1150 | 41 |
1165 | 42 effect:whiteLed a :EffectClass; |
43 rdfs:label "whiteLed"; | |
44 :code "out = Strip.solid('LR', (1,1,1))" . | |
45 | |
1150 | 46 |