Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit
diff options
context:
space:
mode:
authorJames <olpc@xo-05-28-3A.localdomain>2007-08-26 23:06:35 (GMT)
committer James <olpc@xo-05-28-3A.localdomain>2007-08-26 23:06:35 (GMT)
commit593acd0a9c2258765784c599347931c6ac2df749 (patch)
tree77c7783b3da84a62f598dcbaef5db9a4a1c5c755 /Edit
parent24f776ab43f85160f05de7f67539a5b27f9b650e (diff)
multiloop compiling and old code mostly working
Diffstat (limited to 'Edit')
-rw-r--r--Edit/MainWindow.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py
index be92129..2d5e2d8 100644
--- a/Edit/MainWindow.py
+++ b/Edit/MainWindow.py
@@ -702,7 +702,7 @@ class MainWindow( SubActivity ):
self.csnd.loopSetNumTicks( numticks )
self.csnd.loopSetTick( self.page_onset[startPage] + startTick )
- self.csnd.loopSetTempo(self._data['tempo'])
+ self.csnd.setTempo(self._data['tempo'])
if (Config.DEBUG > 3): print "starting from tick", startTick, 'at tempo', self._data['tempo']
self.csnd.loopStart()
@@ -865,7 +865,7 @@ class MainWindow( SubActivity ):
img = min(7,int(8*(self._data["tempo"]-widget.lower)/(widget.upper-widget.lower)))+1# tempo 1-8
#self.GUI["2tempoImage"].set_from_file( Config.IMAGE_ROOT+"tempo"+str(img)+".png" )
if self.playing:
- self.csnd.loopSetTempo(self._data['tempo'])
+ self.csnd.setTempo(self._data['tempo'])
def handleToolClick( self, widget, mode ):
if widget.get_active(): self.trackInterface.setInterfaceMode( mode )
@@ -1415,7 +1415,7 @@ class MainWindow( SubActivity ):
def waitToSet(self):
self.csnd.setMasterVolume(self._data['volume'])
- self.csnd.loopSetTempo(self._data['tempo'])
+ self.csnd.setTempo(self._data['tempo'])
self.initTrackVolume()
def handleSave(self, widget):