# HG changeset patch # User drewp@bigasterisk.com # Date 2006-03-21 04:50:35 # Node ID d434a74fc068dc6b5914e9652ed1e235e9918d83 # Parent 11597ff6ff6ac80fb199ac4e598c3804043b3081 moves/removes diff --git a/flax/tracker b/bin/tracker rename from flax/tracker rename to bin/tracker diff --git a/doc/talk.py b/doc/talk.py deleted file mode 100644 --- a/doc/talk.py +++ /dev/null @@ -1,153 +0,0 @@ -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 -* - - - - """ - - - - - - - - - - - - - - - - - - - - - - diff --git a/light9/Effects.py b/light9/Effects.py deleted file mode 100644 --- a/light9/Effects.py +++ /dev/null @@ -1,24 +0,0 @@ -import random -import light9.Submaster as Submaster -from chase import chase as chase_logic - -thirds = 'third-l', 'third-c', 'third-r' -thirds_bounce = 'third-l', 'third-c', 'third-r', 'third-c' -backs = ['back%d' % d for d in range(1, 11)] -rand_flutter = ['scoop-l', 'scoop-c', 'scoop-r', 'down-c', 'down-l', 'down-r', 'cyc', 'zip_blue', 'zip_red', 'zip_green', 'zip_orange'] + backs -rand_flutter *= 10 -random.shuffle(rand_flutter) - -# don't forget to update this! -__all__ = ['chase', 'thirds', 'thirds_bounce', 'rand_flutter', 'backs'] - -def chase(t, ontime=0.5, offset=0.2, onval=1.0, - offval=0.0, names=None, combiner=max): - """names is list of sub or channel names""" - sub_vals = {} - chase_vals = chase_logic(t, ontime, offset, onval, offval, names, combiner) - for name, value in chase_vals.items(): - sub = Submaster.get_sub_by_name(name) - sub_vals[sub] = value - - return Submaster.combine_subdict(sub_vals)