Mercurial > code > home > repos > light9
view flax/littletimeline.py @ 168:f8b5cb5fbeed
- CueFader is hopefully done:
- CueFader is hopefully done:
- The TimedGoButton accepts a wheel to change the times. You can also
enter times directly.
- TimedGoButton really has a default starting time of 2 now. (there was
a variable attached to the wrong widget before)
- We send DMX levels with dmxclient now.
- Autoload Times is a new option.
- We load times from the next cue if Autoload Times is true.
- Time predictions in the LabelledScale are slightly better. You still
can change the time of an active fade.
- Cue cache and DMX level computing now have their own functions, which
get called at (hopefully) All The Right Times.
- There are even some docs now!
- Cues: sub_level parsing is better, will only throw out one line if
it encounters problems (instead of the rest of the cue)
- CueList: lots of 0 vs. None bugs fixed.
- TkCueList: stores a reference to the controlling fader so it can alert
it about changed cues.
- CueEditron: You can edit sub_levels now.
- cuelist1 was edited, checking it in for consistency's sake
author | dmcc |
---|---|
date | Wed, 09 Jul 2003 03:59:40 +0000 |
parents | 2f48cb9219ed |
children |
line wrap: on
line source
#!/usr/bin/python """ a test that listens to ascoltami player and outputs a light to dmxserver """ from __future__ import division import xmlrpclib,time,socket,sys sys.path.append("../light8") import dmxclient player=xmlrpclib.Server("http://localhost:8040") print "found player" t1=time.time() while 1: try: playtime=player.gettime() except socket.error,e: print "server error %r, waiting"%e time.sleep(2) lev=0 for low,high,func in ((0,20,0), (20,30,(playtime-20)/10), (30,170,1), (170,189,1-(playtime-170)/19), ): if low<=playtime<high: lev=func print "Send",lev dmxclient.outputlevels([lev]) time.sleep(.01)