Files @ 8480fb25239d
Branch filter:

Location: light9/show/dance2014/song16.n3 - annotation

Drew Perttula
host side api for the arduino board
Ignore-this: 99dc5437446e4e610215a28237687b37
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
d91aecab1418
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
7eb423e60011
7eb423e60011
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
7eb423e60011
7eb423e60011
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
b7dd4685abfb
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
30793e93e4eb
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
7eb423e60011
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
d91aecab1418
30793e93e4eb
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
d91aecab1418
30793e93e4eb
d91aecab1418
d91aecab1418
30793e93e4eb
30793e93e4eb
d91aecab1418
d91aecab1418
@prefix ns1: <http://light9.bigasterisk.com/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://light9.bigasterisk.com/show/dance2014/song16> ns1:curve <http://light9.bigasterisk.com/show/dance2014/song16/curve-1>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-10>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-11>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-12>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-13>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-14>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-15>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-16>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-17>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-18>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-2>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-3>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-4>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-5>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-6>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-7>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-8>,
        <http://light9.bigasterisk.com/show/dance2014/song16/curve-9> ;
    ns1:effect <http://light9.bigasterisk.com/show/dance2014/song16/effect-1>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-10>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-11>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-12>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-13>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-14>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-15>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-16>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-17>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-18>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-19>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-3>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-4>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-5>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-6>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-7>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-8>,
        <http://light9.bigasterisk.com/show/dance2014/song16/effect-9> .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-2> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/cycFlash> ;
    rdfs:label "cycFlash" ;
    ns1:code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2)" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-1> a ns1:Curve ;
    rdfs:label "blacklight" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-10> a ns1:Curve ;
    rdfs:label "back chase" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-11> a ns1:Curve ;
    rdfs:label "full to music" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-12> a ns1:Curve ;
    rdfs:label "frontrand chase" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-13> a ns1:Curve ;
    rdfs:label "front-hi-fill" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-14> a ns1:Curve ;
    rdfs:label "orange" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-15> a ns1:Curve ;
    rdfs:label "song16blur" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-16> a ns1:Curve ;
    rdfs:label "edge" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-17> a ns1:Curve ;
    rdfs:label "red" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-18> a ns1:Curve ;
    rdfs:label "full" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-2> a ns1:Curve ;
    rdfs:label "yellow pulse" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-3> a ns1:Curve ;
    rdfs:label "cyc to music" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-4> a ns1:Curve ;
    rdfs:label "back chase slow" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-5> a ns1:Curve ;
    rdfs:label "blue" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-6> a ns1:Curve ;
    rdfs:label "green" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-7> a ns1:Curve ;
    rdfs:label "strobe98" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-8> a ns1:Curve ;
    rdfs:label "slow color chase" .

<http://light9.bigasterisk.com/show/dance2014/song16/curve-9> a ns1:Curve ;
    rdfs:label "whiteLed" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-1> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/blacklight> ;
    rdfs:label "blacklight" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-1>",
        "out = [env * p1, env * p2, env * p4]",
        "p1 = env * <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .5",
        "p2 = Strip.solid('LR', (curve(<http://light9.bigasterisk.com/show/dance2014/song16smooth_music>,t+.2),curve(<http://light9.bigasterisk.com/show/dance2014/song16smooth_music>,t+.1),curve(<http://light9.bigasterisk.com/show/dance2014/song16smooth_music>,t)*3))",
        "p4 = Blacklight(min(255,<http://light9.bigasterisk.com/show/dance2014/song16smooth_music>*3))" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-10> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/whiteLed> ;
    rdfs:label "whiteLed" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-9>",
        "out = Strip.solid('LR', hsv=(t/(.484*4),1,nsquare(t/.484))) * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-11> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/backChase> ;
    rdfs:label "back chase fast" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-10>",
        "out = chase(t, names=backchase, ontime=.2, offset=-.11) * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-12> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/fullToMusic> ;
    rdfs:label "full to music" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-11>",
        "music = <http://light9.bigasterisk.com/show/dance2014/song16music>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/full> * music * env *2" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-13> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/frontrandChase> ;
    rdfs:label "frontrand chase" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-12>",
        "out = chase(t, names=frontrand, ontime=.3, offset=-.11) * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-14> a ns1:Effect ;
    rdfs:label "front-hi-fill" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-13>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/front-hi-fill> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-15> a ns1:Effect ;
    rdfs:label "orange" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-14>",
        "out = <http://light9.bigasterisk.com/show/dance2013/sub/orange> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-16> a ns1:Effect ;
    rdfs:label "song16blur" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-15>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/song16blur> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-17> a ns1:Effect ;
    rdfs:label "edge" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-16>",
        "mid = <http://light9.bigasterisk.com/show/dance2014/sub/back-hi-fill> * env * (1-curve(<http://light9.bigasterisk.com/show/dance2014/song16music>, t+.1)) * 1",
        "ed = <http://light9.bigasterisk.com/show/dance2013/sub/edge> * env * curve(<http://light9.bigasterisk.com/show/dance2014/song16music>, t+.1) * 3",
        "out = [mid, ed]" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-18> a ns1:Effect ;
    rdfs:label "red" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-17>",
        "out = <http://light9.bigasterisk.com/show/dance2013/sub/red> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-19> a ns1:Effect ;
    rdfs:label "full" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-18>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/full> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-3> a ns1:Effect ;
    rdfs:label "yellow pulse" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-2>",
        "out = [env * p1, env * p2]",
        "p1 = <http://light9.bigasterisk.com/show/dance2013/sub/yellow> * v",
        "p2 = Strip.solid('LR', (1,1,0))",
        "v = nsquare(t/.430)" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-4> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/cycToMusic> ;
    rdfs:label "cyc to music" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-3>",
        "music = (<http://light9.bigasterisk.com/show/dance2014/song16music>-.5)*2 + .5",
        "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * music * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-5> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/backChase> ;
    rdfs:label "back chase slow" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-4>",
        "out = chase(t, names=backchase, ontime=.8, offset=-.11) * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-6> a ns1:Effect ;
    rdfs:label "blue" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-5>",
        "out = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-7> a ns1:Effect ;
    rdfs:label "green" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-6>",
        "out = <http://light9.bigasterisk.com/show/dance2013/sub/green> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-8> a ns1:Effect ;
    rdfs:label "strobe98" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-7>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/strobe98> * env" .

<http://light9.bigasterisk.com/show/dance2014/song16/effect-9> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/slowColor> ;
    rdfs:label "slow color chase" ;
    ns1:code "b = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * nsin((t+.6) / period) *2",
        "env = <http://light9.bigasterisk.com/show/dance2014/song16/curve-8>",
        "out = [r*env,y*env,b*env]",
        "period = .484*2",
        "r = <http://light9.bigasterisk.com/show/dance2013/sub/red> * nsin(t / period) *.5",
        "y = <http://light9.bigasterisk.com/show/dance2013/sub/yellow> * nsin((t+.3) / period) * .5" .