Files
@ 58a634ab0f4c
Branch filter:
Location: light9/doc/talk.py
58a634ab0f4c
2.6 KiB
text/x-python
bin/python symlink
Ignore-this: bc638579e4d0a6f5bc6e83586f2cfe82
Ignore-this: bc638579e4d0a6f5bc6e83586f2cfe82
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | def light9_presentation():
"""
Drew Perttula
drewp@bigasterisk.com
http://light9.bigasterisk.com
Goals of light9:
- control the brightness of many lights while playing music
- allow easy editing of the show
- allow easy maintenance of the code, even while the show is running
"""
def dependencies():
"""
Twisted - event loop and networking
TwistedWeb - xmlrpc protocol
tk, tix
pympd - my twisted interface to mpd
pydispatcher - signals
mpd - music player daemon
swig - interface to C code
darcs
*
"""
def connections():
"""
(play cmds)
ascoltami --------------> mpd ----------> audio out
| (timing)
v
curvecalc subcomposer keyboardcomposer
| | |
+--- | ----+
\----- | --------/
\--+---/
| (light levels)
v
* dmxserver
| (dmx levels)
......... v ....................
. chippy .
. | (dmx) . external hardware
. v .
. dmx dimmer .
. | (juice) .
. v .
. light .
................................
"""
def metrics():
"""
selected linecounts:
356 ascoltami (music player)
318 curvecalc (curve and expression editor)
279 keyboardcomposer
189 dmxserver (hardware output)
153 subcomposer
17 wavecurve (create smoothed waveforms from .wav)
311 light9/curve.py (curve widgets)
191 light9/FlyingFader.py (enhanced tk.Scale)
168 light9/Submaster.py
* 151 light9/zoomcontrol.py
137 light9/dmxchanedit.py
40 light9/wavepoints.py
65 light9/io/parport.c (dmx interface protocol)
50 light9/io/serport.i (i2c interface to sliders)
total in project: about 3200 in about 30 files
"""
def future_projects():
"""
A submaster server that talks with the other programs and
eliminates all the explicit saving and reloading of subs
More abstract output layer, to which I can add home lighting, for
example
Small timed 'clips' that can be triggered
Generalize to a whizzy, distributed real-time circuit simulator
node network with a 5GL editor and failsafe checkpointing and
redundancy
*
"""
|