Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Util/ControlStream.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-05-28-21.localdomain>2007-08-29 06:53:12 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-08-29 06:53:12 (GMT)
commitb929d1b3f6856eb97b19eaeb853002de18d75e02 (patch)
treeeb190c0abb2db34e3302bfabb0cb47295e7c5c73 /Util/ControlStream.py
parent82bce73030735492a017113f0486ebe8aae5fae6 (diff)
volume/tempo
Diffstat (limited to 'Util/ControlStream.py')
-rw-r--r--Util/ControlStream.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Util/ControlStream.py b/Util/ControlStream.py
index e76c19b..28ac41b 100644
--- a/Util/ControlStream.py
+++ b/Util/ControlStream.py
@@ -102,6 +102,7 @@ class TamTamTable:
table = self.parseTable()
self.file = ifile
for l in self.file:
+ #print "---", l
cmdlist = l.split()
if len(cmdlist) > 0:
if cmdlist[0] not in table:
@@ -159,10 +160,12 @@ class TamTamTable:
self.tracks_volume = []
for i in range(len(argv)):
self.tracks_volume.append(float(argv[i]))
+
def master_vol(self, argv):
- self.masterVolume = argv[0]
+ self.masterVolume = eval( argv[0] )
+
def tempo(self, argv):
- self.tempo = argv[0]
+ self.tempo = eval( argv[0] )
def block_add( self, argv ):
blockClass = Block.StrToClass[argv[0]]
@@ -206,7 +209,7 @@ class TamTamTable:
# if Config.DEBUG > 3: print "ERROR:: desktop_store could not open file: " + filename
def desktop_set( self, argv ):
- self.jam.setDesktop( int( argv[0] ) )
+ self.jam.setDesktop( int( argv[0] ), True )
def sleep(self, argv):
t = float(argv[0])