Changeset - 233ee9b1e561
[Not reviewed]
default
0 3 0
drewp@bigasterisk.com - 20 years ago 2005-04-17 02:33:14
drewp@bigasterisk.com
checked the showconfig patch and fixed bugs
3 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -16,13 +16,13 @@ from twisted.web.xmlrpc import Proxy
 
import run_local
 
from light9 import Submaster, dmxclient, networking, showconfig
 
from light9.TLUtility import make_attributes_from_args
 
from light9.zoomcontrol import Zoomcontrol
 
from light9.curve import Curve, Curveview, Curveset, Curvesetview
 

	
 
sys.path.append("../../semprini")
 
sys.path.extend(["../semprini","../../semprini"])
 
from lengther import wavelength # for measuring duration of .wav
 

	
 
class Music:
 
    def __init__(self):
 
        self.player=None # xmlrpc Proxy to player
 
        self.recenttime=0
 
@@ -246,13 +246,13 @@ maxtime = wavelength(musicfilename)
 
dispatcher.send("max time",maxtime=maxtime)
 
dispatcher.connect(lambda: maxtime, "get max time",weak=0)
 
curveset.load(basename=os.path.join(showconfig.curvesDir(),song))
 

	
 
subterms = []
 
subterm_adder(root, curveset, subterms, root, ssv).pack(side='top',fill='x')
 
for line in file(showconfig.subtermsForSong()):
 
for line in file(showconfig.subtermsForSong(song)):
 
    subname,expr = line.strip().split(" ",1)
 

	
 
    term = add_one_subterm(subname, curveset, subterms, root, ssv, expr)
 
    
 
    # stv=Subtermview(root,term)
 
    # stv.pack(side='top',fill='x')
bin/keyboardcomposer
Show inline comments
 
@@ -8,13 +8,13 @@ from twisted.web import xmlrpc, server
 
from Tix import *
 
import math, atexit, pickle
 

	
 
import run_local
 
from light9.Fadable import Fadable
 
from light9.Submaster import Submasters, sub_maxes
 
from light9 import dmxclient
 
from light9 import dmxclient, showconfig
 
from light9.uihelpers import toplevelat
 

	
 
nudge_keys = {
 
    'up' : list('qwertyuiop'),
 
    'down' : list('asdfghjkl')
 
}
light9/Patch.py
Show inline comments
 
import os
 
from light9 import showconfig
 

	
 
def resolve_name(channelname):
 
    "Ensure that we're talking about the primary name of the light."
 
    return get_channel_name(get_dmx_channel(channelname))
 

	
 
def get_all_channels():
0 comments (0 inline, 0 general)