468
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
3
|
|
4 <html xmlns="http://www.w3.org/1999/xhtml">
|
|
5
|
|
6 <head>
|
|
7 <title>light9 in 2008</title>
|
|
8 <!-- metadata -->
|
|
9 <meta name="generator" content="S5" />
|
|
10 <meta name="version" content="S5 1.1" />
|
|
11 <meta name="presdate" content="20050728" />
|
|
12 <meta name="author" content="Eric A. Meyer" />
|
|
13 <meta name="company" content="Complex Spiral Consulting" />
|
|
14 <!-- configuration parameters -->
|
|
15 <meta name="defaultView" content="slideshow" />
|
|
16 <meta name="controlVis" content="hidden" />
|
|
17 <!-- style sheet links -->
|
|
18 <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
|
|
19 <link rel="stylesheet" href="ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
|
|
20 <link rel="stylesheet" href="ui/default/print.css" type="text/css" media="print" id="slidePrint" />
|
|
21 <link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
|
|
22 <!-- S5 JS -->
|
|
23 <script src="ui/default/slides.js" type="text/javascript"></script>
|
|
24 <style type="text/css">
|
|
25 pre {
|
|
26 white-space: pre;
|
|
27 }
|
|
28 </style>
|
|
29 </head>
|
|
30 <body>
|
|
31
|
|
32 <div class="layout">
|
|
33 <div id="controls"><!-- DO NOT EDIT --></div>
|
|
34 <div id="currentSlide"><!-- DO NOT EDIT --></div>
|
|
35 <div id="header"></div>
|
|
36 <div id="footer">
|
|
37 <h1></h1>
|
|
38 <h2>light9 in 2008</h2>
|
|
39 </div>
|
|
40
|
|
41 </div>
|
|
42
|
|
43
|
|
44 <div class="presentation">
|
|
45
|
|
46 <div class="slide">
|
|
47 <h1>light9 in 2008</h1>
|
|
48 <h2></h2>
|
|
49 <h3>Drew Perttula</h3>
|
|
50 <h4>http://bigasterisk.com/</h4>
|
|
51 </div>
|
|
52
|
|
53
|
|
54 <div class="slide">
|
|
55 <h1>Existing system</h1>
|
|
56 From my June 2005 presentation:
|
|
57
|
|
58 <pre>
|
|
59 (play cmds)
|
|
60 ascoltami --------------> mpd ----------> audio out
|
|
61 | (timing)
|
|
62 v
|
|
63 curvecalc subcomposer keyboardcomposer
|
|
64 | | |
|
|
65 +--- | ----+
|
|
66 \----- | --------/
|
|
67 \--+---/
|
|
68 | (light levels)
|
|
69 v
|
|
70 dmxserver
|
|
71 | (dmx levels)
|
|
72 ......... v ....................
|
|
73 . entec open dmx .
|
|
74 . | (dmx) . external hardware
|
|
75 . v .
|
|
76 . dmx dimmer .
|
|
77 . | (juice) .
|
|
78 . v .
|
|
79 . light .
|
|
80 ................................
|
|
81 </pre>
|
|
82
|
|
83 </div>
|
|
84
|
|
85 <div class="slide">
|
|
86 <h1>External libraries</h1>
|
|
87 <ul>
|
|
88 <li>Twisted - event loop and networking, xmlrpc</li>
|
|
89 <li>tk, tix</li>
|
|
90 <li>pympd - my twisted interface to mpd</li>
|
|
91 <li>louie - signals</li>
|
|
92 <li>mpd - music player daemon</li>
|
|
93 <li>rdflib</li>
|
|
94 <li>darcs</li>
|
|
95 </ul>
|
|
96 </div>
|
|
97
|
|
98 <div class="slide">
|
|
99 <h1>What's new: real sliders</h1>
|
|
100 <img src="bcf2000-desk1.jpg"/>
|
|
101 <ul>
|
|
102 <li>$200 board with 8 motorized faders (plus knobs, lights, and buttons)</li>
|
|
103 <li>Talks midi or usb-midi</li>
|
|
104 <li>Python/linux driver is easy: </li>
|
|
105 <pre>self.dev = open("/dev/snd/midiC1D0")
|
|
106 b0, which, value = [ord(b) for b in self.dev.read(3)]
|
|
107 self.dev.write(chr(0xb0) + chr(which[0]) + chr(int(value)))</pre>
|
|
108 </ul>
|
|
109 </div>
|
|
110
|
|
111 <div class="slide">
|
|
112 <h1>What's new: RDF for most data storage</h1>
|
|
113 <ul>
|
|
114 <li>Old system: ad-hoc text files. Never do this.</li>
|
|
115 <li>Now: most files are RDF data (saved as .n3 or ntriples)</li>
|
|
116
|
|
117 complex data structures (objects with types and attributes, attrs, lists, sets, references between files)
|
|
118 use DSLs to abbreviate boring parts
|
|
119
|
|
120 </div>
|
|
121
|
|
122
|
|
123 <div class="slide">
|
|
124 <h1>What's new: lightsim</h1>
|
|
125 <ul>
|
|
126 <li>We could really use a good way to preview scenes</li>
|
|
127 <li>Lighting follows the superposition principle</li>
|
|
128 <li>Original version from 2002: Tk, PIL</li>
|
|
129 <li>Current version: qt, OpenGL</li>
|
|
130 </ul>
|
|
131 </div>
|
|
132
|
|
133 <div class="slide">
|
|
134 <h1>Related projects</h1>
|
|
135 <li>vistrails</li>
|
|
136 <li>kamaelia</li>
|
|
137 </div>
|
|
138
|
|
139
|
|
140
|
|
141
|
|
142 http://www.opendmx.net/index.php/Open_DMX_USB
|
|
143
|
|
144
|
|
145
|
|
146
|
|
147
|
|
148 </div>
|
|
149
|
|
150 </body>
|
|
151 </html>
|